Skip to content

Commit c728ba8

Browse files
also cache dist-newstyle
1 parent be6d5ac commit c728ba8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,15 @@ jobs:
3737
- uses: actions/cache/restore@v4
3838
with:
3939
key: ${{ matrix.ghc-version }}-${{ github.sha }}
40-
path: ~/.cabal/store
40+
path: |
41+
~/.cabal/store
42+
dist-newstyle
4143
restore-keys: ${{ matrix.ghc-version }}-
4244
- run: cabal build all --ghc-options=-fhpc
4345
- run: cabal test all --ghc-options=-fhpc
4446
- run: ./scripts/generate-coverage-comment.sh constrained.tix > coverage-report.md
4547
- run: cat coverage-report.md
4648
- run: cabal haddock all
47-
- uses: actions/cache/save@v4
48-
with:
49-
key: ${{ matrix.ghc-version }}-${{ github.sha }}
50-
path: ~/.cabal/store
5149
- name: Upload coverage report
5250
uses: actions/upload-artifact@v4
5351
with:

0 commit comments

Comments
 (0)