From a374c9e0a45ae8c8b48e1c0a764193f5df438dc2 Mon Sep 17 00:00:00 2001 From: bdvllrs Date: Tue, 22 Oct 2024 11:00:58 +0200 Subject: [PATCH] chore: update actions versions in github workflows (#181) Old versions used a deprecated nodejs version --- .github/workflows/docs-new-release.yml | 4 ++-- .github/workflows/docs.yml | 4 ++-- .github/workflows/tests.yml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs-new-release.yml b/.github/workflows/docs-new-release.yml index dcb1fc0..7e546ca 100644 --- a/.github/workflows/docs-new-release.yml +++ b/.github/workflows/docs-new-release.yml @@ -19,7 +19,7 @@ jobs: with: python-version: '3.11.4' - name: Load cached Poetry install - uses: actions/cache@v3 + uses: actions/cache@v4 id: cached-poetry with: path: ~/.local @@ -39,7 +39,7 @@ jobs: poetry add --lock --no-interaction --source torch-cpu "torch@$torch_version" - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f2e5c91..869d3a3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,7 +18,7 @@ jobs: with: python-version: '3.11.4' - name: Load cached Poetry install - uses: actions/cache@v3 + uses: actions/cache@v4 id: cached-poetry with: path: ~/.local @@ -38,7 +38,7 @@ jobs: poetry add --lock --no-interaction --source torch-cpu "torch@$torch_version" - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4bc0114..0f3e84c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,13 +12,13 @@ jobs: if: github.repository == 'ruflab/shimmer' || (github.event.ref != 'refs/heads/public-clone' && github.event.ref != 'refs/heads/main') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: "3.11.4" - name: Load cached Poetry install - uses: actions/cache@v3 + uses: actions/cache@v4 id: cached-poetry with: path: ~/.local @@ -38,7 +38,7 @@ jobs: poetry add --lock --no-interaction --source torch-cpu "torch@$torch_version" - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}