Skip to content

Commit bf3d806

Browse files
committed
Run 'cabal update' before build
1 parent f75bd3c commit bf3d806

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/haskell.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
- name: Install dependencies
3434
run: cabal build --only-dependencies --enable-tests --enable-benchmarks
3535
- name: Build
36-
run: cabal build --enable-tests --enable-benchmarks all
36+
run: |
37+
cabal update
38+
cabal build --enable-tests --enable-benchmarks all
3739
- name: Run tests
3840
run: cabal test --enable-tests all
3941
- if: matrix.ghc != '8.4.4'

0 commit comments

Comments
 (0)