Skip to content

Commit b48ab46

Browse files
committed
Include exact GHC version in Stack cache key
1 parent 43a1d81 commit b48ab46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797

9898
- uses: haskell/actions/setup@v2
9999
name: Setup Haskell Stack
100+
id: setup
100101
with:
101102
ghc-version: ${{ matrix.ghc }}
102103
stack-version: ${{ matrix.stack }}
@@ -116,7 +117,7 @@ jobs:
116117
with:
117118
path: |
118119
~/.stack
119-
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
120+
key: ${{ runner.os }}-${{ steps.setup.outputs.ghc-version }}-stack
120121

121122
- name: Install dependencies
122123
run: |

0 commit comments

Comments
 (0)