Skip to content

Commit

Permalink
chore: update actions versions in github workflows (#181)
Browse files Browse the repository at this point in the history
Old versions used a deprecated nodejs version
  • Loading branch information
bdvllrs authored Oct 22, 2024
1 parent 162f8b8 commit a374c9e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down

0 comments on commit a374c9e

Please sign in to comment.