88#
99# For more information, see https://github.com/haskell-CI/haskell-ci
1010#
11- # version: 0.19.20250330
11+ # version: 0.19.20260104
1212#
13- # REGENDATA ("0.19.20250330 ",["github","helf.cabal"])
13+ # REGENDATA ("0.19.20260104 ",["github","helf.cabal"])
1414#
1515name : Haskell-CI
1616on :
2020 pull_request :
2121 branches :
2222 - master
23+ merge_group :
24+ branches :
25+ - master
2326jobs :
2427 linux :
2528 name : Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -32,14 +35,19 @@ jobs:
3235 strategy :
3336 matrix :
3437 include :
38+ - compiler : ghc-9.14.1
39+ compilerKind : ghc
40+ compilerVersion : 9.14.1
41+ setup-method : ghcup
42+ allow-failure : false
3543 - compiler : ghc-9.12.2
3644 compilerKind : ghc
3745 compilerVersion : 9.12.2
3846 setup-method : ghcup
3947 allow-failure : false
40- - compiler : ghc-9.10.1
48+ - compiler : ghc-9.10.3
4149 compilerKind : ghc
42- compilerVersion : 9.10.1
50+ compilerVersion : 9.10.3
4351 setup-method : ghcup
4452 allow-failure : false
4553 - compiler : ghc-9.8.4
@@ -110,8 +118,8 @@ jobs:
110118 chmod a+x "$HOME/.ghcup/bin/ghcup"
111119 - name : Install cabal-install
112120 run : |
113- "$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.1-p1 || (cat "$HOME"/.ghcup/logs/*.* && false)
114- echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.1-p1 -vnormal+nowrap" >> "$GITHUB_ENV"
121+ "$HOME/.ghcup/bin/ghcup" install cabal 3.16.0.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
122+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.16.0.0 -vnormal+nowrap" >> "$GITHUB_ENV"
115123 - name : Install GHC (GHCup)
116124 if : matrix.setup-method == 'ghcup'
117125 run : |
@@ -187,7 +195,7 @@ jobs:
187195 chmod a+x $HOME/.cabal/bin/cabal-plan
188196 cabal-plan --version
189197 - name : checkout
190- uses : actions/checkout@v4
198+ uses : actions/checkout@v5
191199 with :
192200 path : source
193201 - name : initial cabal.project for sdist
@@ -212,7 +220,9 @@ jobs:
212220 touch cabal.project.local
213221 echo "packages: ${PKGDIR_helf}" >> cabal.project
214222 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package helf" >> cabal.project ; fi
215- if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
223+ if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project ; fi
224+ if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo "package helf" >> cabal.project ; fi
225+ if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
216226 cat >> cabal.project <<EOF
217227 EOF
218228 $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(helf)$/; }' >> cabal.project.local
0 commit comments