From 0977fde60ba3564cf34c53606a53962d81eef7b0 Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:47:14 +0100 Subject: [PATCH] Upgrade deprecated GH Action cache@v2 (#456) --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7b9805084..c0b06d36b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -28,7 +28,7 @@ jobs: run: | pip install -e .[dev,extended_tasks,multilingual] - name: Get cached files - uses: actions/cache@v2 + uses: actions/cache@v4 id: get-cache with: path: "cache" @@ -41,7 +41,7 @@ jobs: run: | # PYTHONPATH="${PYTHONPATH}:src" HF_DATASETS_CACHE="cache/datasets" HF_HOME="cache/models" python -m pytest --disable-pytest-warnings - name: Write cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: "cache" key: test-cache-HF