Skip to content

Commit

Permalink
CI: run cabal update before cabal build
Browse files Browse the repository at this point in the history
... to hopefully fix CI.

The latest version of cabal returns this without the update first:

Run cabal build
  cabal build
  shell: /usr/bin/bash -e {0}
Error: [Cabal-7160]
The package list for 'hackage.haskell.org' does not exist. Run 'cabal update' to download it.
  • Loading branch information
rudymatela committed Aug 26, 2024
1 parent 04e3b68 commit 5407fc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
- run: make test-sdist
#- run: make test-via-cabal
- run: cabal configure --enable-tests --enable-benchmarks --ghc-options="-O0"
- run: cabal update # latest version of cabal requires a package list to run...
- run: cabal build
- run: cabal test
- run: cabal haddock
Expand Down

0 comments on commit 5407fc3

Please sign in to comment.