Skip to content

Commit

Permalink
Fix caching
Browse files Browse the repository at this point in the history
+ I was using the cabal plan as a key, now I use stack files/cabal generated files
  • Loading branch information
rasheedja committed Nov 24, 2023
1 parent af6e364 commit 9bd3cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
id: cache
with:
path: .stack-work
key: ${{ runner.os }}-ghc-${{ env.GHC_VERSION }}-stack-${{ env.STACK_VERSION }}-plan-${{ hashFiles('**/plan.json') }}
key: ${{ runner.os }}-ghc-${{ env.GHC_VERSION }}-stack-${{ env.STACK_VERSION }}-deps-${{ hashFiles('**/stack.yaml', '**/package.yaml', '**/simplex-method.cabal') }}
restore-keys: |
${{ runner.os }}-ghc-${{ env.GHC_VERSION }}-stack-${{ env.STACK_VERSION }}-
Expand Down

0 comments on commit 9bd3cc0

Please sign in to comment.