3737 cabal-flags : " "
3838 - ghc-version : " 9.12.2"
3939 cabal-flags : " "
40+ - ghc-version : " 9.14.1"
41+ # See issue 479 for when we can drop the following flags
42+ cabal-flags : " --allow-newer=base --allow-newer=ghc-bignum --allow-newer=containers --allow-newer=template-haskell"
4043
4144 runs-on : " ubuntu-latest"
4245
@@ -48,14 +51,14 @@ jobs:
4851 id : setup-haskell
4952 with :
5053 ghc-version : ${{ matrix.ghc-version }}
51- cabal-version : ' 3.12 .1.0'
54+ cabal-version : ' 3.16 .1.0'
5255
5356 - name : Generate freeze file
5457 run : |
5558 # Cloud Haskell tests using the QUIC backend are quite flaky, but in CI only.
5659 # Therefore, the 'quic' flag is normally enabled locally, but disabled in CI.
57- cabal configure --enable-tests --test-show-details=direct --flags "-quic"
58- cabal freeze ${{matrix.cabal-flags}} --minimize-conflict-set
60+ cabal configure --enable-tests --test-show-details=direct --flags "-quic" ${{matrix.cabal-flags}}
61+ cabal freeze --minimize-conflict-set
5962 cat cabal.project.freeze
6063
6164 - name : Cache cabal work
@@ -69,15 +72,15 @@ jobs:
6972 key : ${{ runner.os }}-${{ hashFiles('cabal.project', 'cabal.project.local') }}-cabal-install
7073
7174 - name : Build dependencies only
72- run : cabal build all --only-dependencies ${{matrix.cabal-flags}}
75+ run : cabal build all --only-dependencies
7376
7477 - name : Build all packages
75- run : cabal build all ${{matrix.cabal-flags}}
78+ run : cabal build all
7679
7780 - name : Run all tests
7881 # We have seen in the past some tests hang for hours, wasting resources.
7982 # The timeout below should be plenty
8083 timeout-minutes : 10
8184 # We run each test suite one-by-one to better observe problems.
82- run : cabal test all -j1 ${{matrix.cabal-flags}}
85+ run : cabal test all -j1
8386
0 commit comments