Skip to content

Commit

Permalink
CI: use cache@v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Sep 10, 2024
1 parent c51f9a4 commit 76f3db1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cabal
key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ secrets.CACHE_VERSION }}

- name: Cache cabal work
id: cabal-local
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
dist-newstyle
Expand All @@ -65,15 +65,15 @@ jobs:
# declare/restore cached things
- name: Cache stack global package db
id: stack-global
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.stack
key: ${{ runner.os }}-stack-global-${{ secrets.CACHE_VERSION }}

- name: Cache stack work
id: stack-local
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
.stack-work
Expand Down

0 comments on commit 76f3db1

Please sign in to comment.