Skip to content

Commit 0977fde

Browse files
Upgrade deprecated GH Action cache@v2 (#456)
1 parent 51ca581 commit 0977fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
pip install -e .[dev,extended_tasks,multilingual]
3030
- name: Get cached files
31-
uses: actions/cache@v2
31+
uses: actions/cache@v4
3232
id: get-cache
3333
with:
3434
path: "cache"
@@ -41,7 +41,7 @@ jobs:
4141
run: | # PYTHONPATH="${PYTHONPATH}:src" HF_DATASETS_CACHE="cache/datasets" HF_HOME="cache/models"
4242
python -m pytest --disable-pytest-warnings
4343
- name: Write cache
44-
uses: actions/cache@v2
44+
uses: actions/cache@v4
4545
with:
4646
path: "cache"
4747
key: test-cache-HF

0 commit comments

Comments
 (0)