Skip to content

Commit b50be26

Browse files
committed
Reuse the test/bench cache
1 parent 3a8edcf commit b50be26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/hackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
path: |
4343
~/.cabal/packages
4444
~/.cabal/store
45-
key: v2-${{ runner.os }}-${{ matrix.ghc }}-hackage-${{ hashFiles('**/*.cabal') }}
45+
key: v2-${{ runner.os }}-${{ matrix.ghc }}-build-${{ hashFiles('cabal.project') }}
4646
restore-keys: |
47-
v2-${{ runner.os }}-${{ matrix.ghc }}-hackage-
47+
v2-${{ runner.os }}-${{ matrix.ghc }}-bench-${{ hashFiles('cabal.project') }}
4848
v2-${{ runner.os }}-${{ matrix.ghc }}-build-
4949
v2-${{ runner.os }}-${{ matrix.ghc }}
5050

0 commit comments

Comments
 (0)