Skip to content

Commit

Permalink
chore: Update actions/cache plugin (Github CI)
Browse files Browse the repository at this point in the history
This resolves deprecation warnings for v3.
  • Loading branch information
supersven authored and blackheaven committed Oct 19, 2024
1 parent 0ee5afe commit b97c870
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b97c870

Please sign in to comment.