Skip to content

Commit 18c592f

Browse files
authored
Extend cache key with the cabal-version (#462)
Avoids cache poisoning across CI jobs.
1 parent de036f0 commit 18c592f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/haskell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
~/.cabal/packages
5151
~/.cabal/store
5252
dist-newstyle
53-
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
53+
key: ${{ runner.os }}-${{ matrix.cabal }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
5454
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
5555

5656
- run: cabal update

0 commit comments

Comments
 (0)