From b97c87046b789335b9c94cb51d392048cc89241e Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Thu, 17 Oct 2024 12:37:14 +0200 Subject: [PATCH] chore: Update actions/cache plugin (Github CI) This resolves deprecation warnings for v3. --- .github/workflows/compat.yml | 2 +- .github/workflows/haskell-ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compat.yml b/.github/workflows/compat.yml index c2cf4e1..43e9775 100644 --- a/.github/workflows/compat.yml +++ b/.github/workflows/compat.yml @@ -47,7 +47,7 @@ jobs: echo "code-hash=$code_hash" >> "$GITHUB_OUTPUT" - name: Setup cache id: cache-build - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cabal/store key: compat-build-${{ steps.code-hash.outputs.code-hash}} diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 6c20e58..7489864 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -184,7 +184,7 @@ jobs: $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all cabal-plan - name: restore cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} path: ~/.cabal/store @@ -220,7 +220,7 @@ jobs: docker logs es docker rm -f es - name: save cache - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: always() with: key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}