Skip to content

Commit 330b08f

Browse files
committed
CI: cabal-plan allow-newer for GHC 9.6 (TODO: revert)
1 parent 18a364b commit 330b08f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/validate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- name: Install cabal-plan
9898
run: |
9999
cd $(mktemp -d)
100-
cabal install cabal-plan --constraint='cabal-plan +exe'
100+
cabal install cabal-plan --allow-newer="base,ghc-prim,template-haskell" --constraint='cabal-plan +exe'
101101
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
102102
103103
# The tool is not essential to the rest of the test suite. If
@@ -251,7 +251,7 @@ jobs:
251251
- name: Install cabal-plan
252252
run: |
253253
cd $(mktemp -d)
254-
cabal install cabal-plan --constraint='cabal-plan +exe' --allow-newer
254+
cabal install cabal-plan --allow-newer="base,ghc-prim,template-haskell" --constraint='cabal-plan +exe' --allow-newer
255255
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
256256
257257
# The tool is not essential to the rest of the test suite. If
@@ -373,7 +373,7 @@ jobs:
373373
- name: Install cabal-plan
374374
run: |
375375
cd $(mktemp -d)
376-
cabal install cabal-plan --constraint='cabal-plan +exe'
376+
cabal install cabal-plan --allow-newer="base,ghc-prim,template-haskell" --constraint='cabal-plan +exe'
377377
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
378378
379379
- name: Validate build
@@ -421,7 +421,7 @@ jobs:
421421
- name: Install cabal-plan
422422
run: |
423423
cd $(mktemp -d)
424-
cabal install cabal-plan --constraint='cabal-plan +exe'
424+
cabal install cabal-plan --allow-newer="base,ghc-prim,template-haskell" --constraint='cabal-plan +exe'
425425
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
426426
427427
- name: Download cabal executable from workflow artifacts

0 commit comments

Comments
 (0)