Skip to content

Commit ec33721

Browse files
committed
Remove allow-newers
1 parent 0f04bf5 commit ec33721

File tree

2 files changed

+4
-30
lines changed

2 files changed

+4
-30
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.19.20241223
11+
# version: 0.19.20250115
1212
#
13-
# REGENDATA ("0.19.20241223",["github","--config=cabal.haskell-ci","cabal.project"])
13+
# REGENDATA ("0.19.20250115",["github","--config=cabal.haskell-ci","cabal.project"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -106,8 +106,8 @@ jobs:
106106
chmod a+x "$HOME/.ghcup/bin/ghcup"
107107
- name: Install cabal-install
108108
run: |
109-
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
110-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
109+
"$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
110+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
111111
- name: Install GHC (GHCup)
112112
if: matrix.setup-method == 'ghcup'
113113
run: |
@@ -210,18 +210,6 @@ jobs:
210210
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package text-show" >> cabal.project ; fi
211211
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
212212
cat >> cabal.project <<EOF
213-
allow-newer: aeson:ghc-prim
214-
allow-newer: aeson:template-haskell
215-
allow-newer: binary-orphans:base
216-
allow-newer: indexed-traversable:base
217-
allow-newer: indexed-traversable-instances:base
218-
allow-newer: integer-conversion:base
219-
allow-newer: microstache:base
220-
allow-newer: quickcheck-instances:base
221-
allow-newer: semialign:base
222-
allow-newer: these:base
223-
allow-newer: uuid-types:template-haskell
224-
225213
package text-show
226214
ghc-options: -Werror
227215
EOF

cabal.project

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
11
packages: .
2-
3-
-- TODO: Remove this once the ecosystem has caught up with GHC 9.12
4-
allow-newer:
5-
aeson:ghc-prim,
6-
aeson:template-haskell,
7-
binary-orphans:base,
8-
indexed-traversable:base,
9-
indexed-traversable-instances:base,
10-
integer-conversion:base,
11-
microstache:base,
12-
quickcheck-instances:base,
13-
semialign:base,
14-
these:base,
15-
uuid-types:template-haskell

0 commit comments

Comments
 (0)