Skip to content

Commit 7912c70

Browse files
committed
Bump Haskell-CI to GHC 9.14.1
1 parent b6d8079 commit 7912c70

3 files changed

Lines changed: 26 additions & 11 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 21 additions & 9 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.20250506
11+
# version: 0.19.20260209
1212
#
13-
# REGENDATA ("0.19.20250506",["github","hackage-server.cabal"])
13+
# REGENDATA ("0.19.20260209",["github","hackage-server.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -20,6 +20,11 @@ on:
2020
pull_request:
2121
branches:
2222
- master
23+
merge_group:
24+
branches:
25+
- master
26+
workflow_dispatch:
27+
{}
2328
jobs:
2429
linux:
2530
name: Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -32,14 +37,19 @@ jobs:
3237
strategy:
3338
matrix:
3439
include:
35-
- compiler: ghc-9.12.2
40+
- compiler: ghc-9.14.1
41+
compilerKind: ghc
42+
compilerVersion: 9.14.1
43+
setup-method: ghcup
44+
allow-failure: false
45+
- compiler: ghc-9.12.4
3646
compilerKind: ghc
37-
compilerVersion: 9.12.2
47+
compilerVersion: 9.12.4
3848
setup-method: ghcup
3949
allow-failure: false
40-
- compiler: ghc-9.10.2
50+
- compiler: ghc-9.10.3
4151
compilerKind: ghc
42-
compilerVersion: 9.10.2
52+
compilerVersion: 9.10.3
4353
setup-method: ghcup
4454
allow-failure: false
4555
- compiler: ghc-9.8.4
@@ -66,8 +76,8 @@ jobs:
6676
chmod a+x "$HOME/.ghcup/bin/ghcup"
6777
- name: Install cabal-install
6878
run: |
69-
"$HOME/.ghcup/bin/ghcup" install cabal 3.14.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
70-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
79+
"$HOME/.ghcup/bin/ghcup" install cabal 3.16.0.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
80+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.16.0.0 -vnormal+nowrap" >> "$GITHUB_ENV"
7181
- name: Install GHC (GHCup)
7282
if: matrix.setup-method == 'ghcup'
7383
run: |
@@ -168,7 +178,9 @@ jobs:
168178
touch cabal.project.local
169179
echo "packages: ${PKGDIR_hackage_server}" >> cabal.project
170180
echo "package hackage-server" >> cabal.project
171-
echo " ghc-options: -Werror=missing-methods" >> cabal.project
181+
echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project
182+
echo "package hackage-server" >> cabal.project
183+
echo " ghc-options: -Werror=unused-packages" >> cabal.project
172184
cat >> cabal.project <<EOF
173185
EOF
174186
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(Cabal|Cabal-syntax|hackage-server|parsec|process|text)$/; }' >> cabal.project.local

cabal.haskell-ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
branches: master
22

3+
error-incomplete-patterns: False
4+
35
installed: +all -Cabal -Cabal-syntax -text -parsec -process
46

57
-- Does not work with GHA:

hackage-server.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ license: BSD-3-Clause
2828
license-file: LICENSE
2929

3030
tested-with:
31-
GHC == 9.12.2
32-
GHC == 9.10.2
31+
GHC == 9.14.1
32+
GHC == 9.12.4
33+
GHC == 9.10.3
3334
GHC == 9.8.4
3435
GHC == 9.6.7
3536
-- Constraint transformers >= 0.6 forces GHC >= 9.6 for CI

0 commit comments

Comments
 (0)