Skip to content

Commit f984e9b

Browse files
andreasabelBodigrim
authored andcommitted
CI: Bump workflow other to latest haskell-actions/setup features
1 parent ee937e3 commit f984e9b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/other.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,19 @@ jobs:
1616
os: [windows-latest, macOS-latest]
1717
ghc: ['latest']
1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: haskell/actions/setup@v2
19+
- uses: actions/checkout@v4
20+
- uses: haskell-actions/setup@v2
2121
id: setup-haskell-cabal
2222
with:
2323
ghc-version: ${{ matrix.ghc }}
24-
- name: Update cabal package database
25-
run: cabal update
24+
cabal-update: true
2625
- uses: actions/cache@v3
2726
name: Cache cabal stuff
2827
with:
2928
path: |
3029
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
3130
dist-newstyle
32-
key: ${{ runner.os }}-${{ matrix.ghc }}
31+
key: ${{ runner.os }}-ghc-${{ steps.setup-haskell-cabal.outputs.ghc-version }}
3332
- name: Build
3433
run: |
3534
cabal sdist -z -o .

0 commit comments

Comments
 (0)