1414 strategy :
1515 matrix :
1616 os : [macos-latest, windows-latest]
17- ghc : ['9.4.8','9.6.6','9.8.2','9.10.1']
17+ # Older GHCs need LLVM on macos-latest (ARM)
18+ ghc : ['9.4.8','9.6.6','9.8.2','9.10.2']
1819 fail-fast : false
1920 timeout-minutes :
2021 60
@@ -29,18 +30,19 @@ jobs:
2930 uses : haskell-actions/setup@v2
3031 with :
3132 ghc-version : ${{ matrix.ghc }}
32- cabal-version : ' 3.12.1 .0'
33+ cabal-version : ' 3.10.2 .0'
3334
3435 - name : Set up PostgreSQL
35- uses : ikalnytskyi/action-setup-postgres@v6
36+ uses : ikalnytskyi/action-setup-postgres@v8
3637 id : postgres
3738 with :
3839 username : ci
3940 password : sw0rdfish
4041 database : test
42+ postgres-version : " 14"
4143
4244 - name : Checkout
43- uses : actions/checkout@v4
45+ uses : actions/checkout@v5
4446
4547 - name : Cache
4648 uses : actions/cache@v4
4951 key : ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
5052 restore-keys : ${{ runner.os }}-${{ matrix.ghc }}-
5153
54+ - name : cabal.project (win)
55+ if : matrix.os == 'windows-latest'
56+ run : cp cabal.project.win cabal.project
57+
58+ - name : cabal.project (macos)
59+ if : matrix.os == 'macos-latest'
60+ run : cp cabal.project.macos cabal.project
61+
62+ - name : ghc-pkg dump
63+ run : ghc-pkg list
64+
65+ - name : Dependencies
66+ run : cabal build all --enable-tests --only-dependencies
67+
5268 - name : Build
5369 run : cabal build all --enable-tests
5470
0 commit comments