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#
1515name : Haskell-CI
1616on :
2020 pull_request :
2121 branches :
2222 - master
23+ merge_group :
24+ branches :
25+ - master
26+ workflow_dispatch :
27+ {}
2328jobs :
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
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
0 commit comments