Skip to content

Commit 48c5004

Browse files
committed
fix(test): run cabal update prior to GitHub Action tests
This is due to haskell/cabal#8944 Previously, we were getting only a warning. It was fine as we are using Nix to provision the packages. Now (as of cabal-install v3.12.1.0), we are getting an error. To avoid this, we need to run `cabal update` prior to running the tests. Note that there are ongoing discussions on how to handle this going forward.
1 parent b370b06 commit 48c5004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222

2323
- name: "Check, Test and Build"
2424
run: |
25-
nix-shell --pure --run "dev-test-build"
25+
nix-shell --pure --run "cabal update --ignore-project && dev-test-build"

0 commit comments

Comments
 (0)