Skip to content

Commit ee483f2

Browse files
committed
[ fix ][ ci ] Prevent mixing cache key on ARM64 and Intel macOS
1 parent fdc58cb commit ee483f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ jobs:
7676
~/.ghcup
7777
~/.stack/programs
7878
~/.stack/pantry
79-
key: ${{ runner.os }}-haskell-${{ env.GHC_VERSION }}-stack-latest
79+
key: ${{ runner.os }}-${{ runner.arch }}-haskell-${{ env.GHC_VERSION }}-stack-latest
8080
restore-keys: |
81-
${{ runner.os }}-haskell-${{ env.GHC_VERSION }}-
82-
${{ runner.os }}-haskell-
81+
${{ runner.os }}-${{ runner.arch }}-haskell-${{ env.GHC_VERSION }}-
82+
${{ runner.os }}-${{ runner.arch }}-haskell-
8383
8484
- name: 🏗 Setup Haskell
8585
if : runner.os == 'macOS'

0 commit comments

Comments
 (0)