ci: add GHC9.0.2, bump 8.10.4 -> 8.10.7

This commit is contained in:
Richard Marko 2022-03-27 19:06:17 +02:00
parent ad45724dae
commit c391e4a249
2 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,8 @@ in haskellCi.generalCi
haskellCi.matrixSteps
( Some
{ ghc =
[ haskellCi.GHC.GHC8104
[ haskellCi.GHC.GHC902
, haskellCi.GHC.GHC8107
, haskellCi.GHC.GHC884
, haskellCi.GHC.GHC865
]

View File

@ -11,12 +11,19 @@ jobs:
ghc-version: "${{ matrix.ghc }}"
- name: Update Hackage repository
run: cabal update
- name: cabal.project.local.ci
run: |
if [ -e cabal.project.local.ci ]; then
cp cabal.project.local.ci cabal.project.local
fi
- name: freeze
run: cabal freeze
- uses: "actions/cache@v2"
with:
key: "${{ runner.os }}-${{ matrix.ghc }}-cabal-${{ hashFiles('cabal.project.freeze') }}"
path: "${{ steps.setup-haskell-cabal.outputs.cabal-store }} dist-newstyle"
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
- name: Install dependencies
run: cabal build all --enable-tests --enable-benchmarks --only-dependencies
- name: build all
@ -30,7 +37,8 @@ jobs:
cabal:
- '3.2'
ghc:
- '8.10.4'
- '9.0.2'
- '8.10.7'
- '8.8.4'
- '8.6.5'
name: Haskell CI