Skip to content

Commit b362744

Browse files
committed
CI: Pin cabal-install version to 3.14.*
`haskell-ci` defaults to `cabal-install-3.12.*` (see haskell-CI/haskell-ci#766), but we need `cabal-install-3.14.*` in order for the GHC 9.12 build to succeed.
1 parent e5558c9 commit b362744

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ jobs:
9696
chmod a+x "$HOME/.ghcup/bin/ghcup"
9797
- name: Install cabal-install
9898
run: |
99-
"$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
100-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
99+
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.1 || (cat "$HOME"/.ghcup/logs/*.* && false)
100+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.1 -vnormal+nowrap" >> "$GITHUB_ENV"
101101
- name: Install GHC (GHCup)
102102
if: matrix.setup-method == 'ghcup'
103103
run: |

cabal.haskell-ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ distribution: jammy
22
no-tests-no-benchmarks: False
33
unconstrained: False
44
run-tests: False
5+
-- Work around https://github.com/haskell-CI/haskell-ci/issues/766
6+
cabal-install-version: 3.14.1.1

0 commit comments

Comments
 (0)