Skip to content

Commit 273cb0a

Browse files
committed
use fixed cabal version per #10175
1 parent e8c35d8 commit 273cb0a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
id: setup-haskell
114114
with:
115115
ghc-version: ${{ matrix.ghc }}
116-
cabal-version: latest # latest is mandatory for cabal-testsuite, see https://github.com/haskell/cabal/issues/8133
116+
cabal-version: 3.12.1.0 # see https://github.com/haskell/cabal/pull/10251
117117
ghcup-release-channel: https://github.com/raw/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml
118118

119119
# See the following link for a breakdown of the following step

cabal-testsuite/cabal-testsuite.cabal

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ executable test-runtime-deps
145145

146146
custom-setup
147147
-- we only depend on even stable releases of lib:Cabal
148-
-- and due to Custom complexity and ConstraintSetupCabalMaxVersion
149-
-- it has to be the latest release version plus
150-
-- you have to use the latest cabal-install release
151-
setup-depends: Cabal == 3.12.*,
152-
Cabal-syntax == 3.12.*,
148+
-- and must match the release used in validate.yml (see
149+
-- https://github.com/haskell/cabal/pull/10251)
150+
setup-depends: Cabal ^>= 3.12.1,
151+
Cabal-syntax ^>= 3.12.1,
153152
base, filepath, directory

0 commit comments

Comments
 (0)