CI: GHC (9.0 - 8.6)

This commit is contained in:
Anton-Latukha 2021-08-06 17:42:41 +03:00
parent bca4094003
commit 21bce33202
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
4 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
packageRoot: [ hnix-store-remote ]
ghc: [ "8.10", "8.4" ]
ghc: [ "9.0", "8.6" ]
defaults:
run:
working-directory: "./${{ matrix.packageRoot }}"
@ -75,5 +75,5 @@ jobs:
run: cabal v2-test $cabalConfig
- name: "Source distribution file"
if: ${{ matrix.ghc == '8.10' }}
if: ${{ matrix.ghc == '9.0' }}
run: cabal v2-sdist

View File

@ -21,7 +21,7 @@ jobs:
# Separation between Core & Store workflows made deliberately, so when one fixes Core, CI does not falls because of the Hackage Core Remote builds with.
# Also singleton also use is deliberate, it allows to reference the value in the further configuration & also leaves a name in the CI & preserves matrix flexibility for the future.
packageRoot: [ hnix-store-core ]
ghc: [ "8.10", "8.4" ]
ghc: [ "9.0", "8.6" ]
defaults:
run:
working-directory: "./${{ matrix.packageRoot }}"
@ -67,5 +67,5 @@ jobs:
run: cabal v2-test $cabalConfig
- name: "Source distribution file"
if: ${{ matrix.ghc == '8.10' }}
if: ${{ matrix.ghc == '9.0' }}
run: cabal v2-sdist

View File

@ -33,7 +33,7 @@ jobs:
id: HaskEnvSetup
uses: haskell/actions/setup@v1
with:
ghc-version: '8.10'
ghc-version: '9.0'
- name: "Repository update"
run: cabal v2-update

View File

@ -18,7 +18,7 @@ jobs:
matrix:
packageRoot: [ hnix-store-core, hnix-store-remote ]
# Since CI by default tests boundary GHCs, test middle versions of GHCs
ghc: [ "8.8", "8.6"]
ghc: [ "8.10", "8.8"]
defaults:
run:
working-directory: "./${{ matrix.packageRoot }}"