Skip to content

Commit e09f0d9

Browse files
committed
CI: Regenerate and add ghc-9.14.1
Includes an `allow-newer: *:*` for ghc-9.14. This hack will be removed when `ghc-9.14` support is more widespread.
1 parent 4288aa0 commit e09f0d9

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.19.20250801
11+
# version: 0.19.20260104
1212
#
13-
# REGENDATA ("0.19.20250801",["github","system-linux-proc.cabal"])
13+
# REGENDATA ("0.19.20260104",["github","system-linux-proc.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
1717
- push
1818
- pull_request
19+
- merge_group
1920
jobs:
2021
linux:
2122
name: Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -28,14 +29,19 @@ jobs:
2829
strategy:
2930
matrix:
3031
include:
32+
- compiler: ghc-9.14.1
33+
compilerKind: ghc
34+
compilerVersion: 9.14.1
35+
setup-method: ghcup
36+
allow-failure: false
3137
- compiler: ghc-9.12.2
3238
compilerKind: ghc
3339
compilerVersion: 9.12.2
3440
setup-method: ghcup
3541
allow-failure: false
36-
- compiler: ghc-9.10.2
42+
- compiler: ghc-9.10.3
3743
compilerKind: ghc
38-
compilerVersion: 9.10.2
44+
compilerVersion: 9.10.3
3945
setup-method: ghcup
4046
allow-failure: false
4147
- compiler: ghc-9.8.4
@@ -143,7 +149,7 @@ jobs:
143149
chmod a+x $HOME/.cabal/bin/cabal-plan
144150
cabal-plan --version
145151
- name: checkout
146-
uses: actions/checkout@v4
152+
uses: actions/checkout@v5
147153
with:
148154
path: source
149155
- name: initial cabal.project for sdist
@@ -173,6 +179,7 @@ jobs:
173179
if [ $((HCNUMVER >= 90600)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
174180
if [ $((HCNUMVER >= 90600)) -ne 0 ] ; then echo "package system-linux-proc" >> cabal.project ; fi
175181
if [ $((HCNUMVER >= 90600)) -ne 0 ] ; then echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project ; fi
182+
if [ $((HCNUMVER >= 91400)) -ne 0 ] ; then echo "allow-newer: *:*" >> cabal.project ; fi
176183
cat >> cabal.project <<EOF
177184
EOF
178185
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(system-linux-proc)$/; }' >> cabal.project.local

system-linux-proc.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ extra-source-files: ChangeLog.md
1717
stability: provisional
1818
cabal-version: >= 1.10
1919

20-
tested-with: GHC == 8.10.7, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.2, GHC == 9.12.2
20+
tested-with: GHC == 8.10.7, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3
21+
, GHC == 9.12.2, GHC == 9.14.1
2122

2223
library
2324
default-language: Haskell2010

0 commit comments

Comments
 (0)