Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] CI deprecated cache action #658

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
run: |
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT

- uses: actions/cache/restore@v4.0.2
- uses: actions/cache/restore@v4.2.2
# Loading cache of elephant-data
id: cache-datasets
with:
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
run: |
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT

- uses: actions/cache/restore@v4.0.2
- uses: actions/cache/restore@v4.2.2
# Loading cache of elephant-data
id: cache-datasets
with:
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
run: |
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT

- uses: actions/cache/restore@v4.0.2
- uses: actions/cache/restore@v4.2.2
# Loading cache of elephant-data
id: cache-datasets
with:
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
run: |
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT

- uses: actions/cache/restore@v4.0.2
- uses: actions/cache/restore@v4.2.2
# Loading cache of elephant-data
id: cache-datasets
with:
Expand Down Expand Up @@ -346,7 +346,7 @@ jobs:
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Cache pip
uses: actions/cache@v4
uses: actions/cache@v4.2.2
with:
path: ${{ steps.pip-cache.outputs.dir }}

Expand All @@ -357,7 +357,7 @@ jobs:
run: |
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT

- uses: actions/cache/restore@v4.0.2
- uses: actions/cache/restore@v4.2.2
# Loading cache of elephant-data
id: cache-datasets
with:
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Cache pip
uses: actions/cache@v4
uses: actions/cache@v4.2.2
with:
path: ${{ steps.pip-cache.outputs.dir }}
# Look to see if there is a cache hit for the corresponding requirements files
Expand Down Expand Up @@ -497,7 +497,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Cache test_env
uses: actions/cache@v4
uses: actions/cache@v4.2.2
with:
path: ~/test_env
# Look to see if there is a cache hit for the corresponding requirements files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache_elephant_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
echo "dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/elephant-data.git HEAD | cut -f1)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4.0.2
- uses: actions/cache@v4.2.2
# Loading cache of elephant-data
id: cache-datasets
with:
Expand Down
Loading