Support GHC 9.8 #269
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 3 * * 6' # 3am Saturday | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
ghc: ['9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8'] | |
# It sometimes works a bit Windows, but not very robustly, | |
# and not in CI - so exclude it | |
include: | |
- os: macOS-latest | |
ghc: "8.10" | |
steps: | |
- run: git config --global core.autocrlf false | |
- uses: actions/checkout@v2 | |
- uses: haskell/actions/setup@v2 | |
id: setup-haskell | |
with: | |
ghc-version: ${{ matrix.ghc }} | |
- run: cabal v2-freeze --enable-tests | |
- uses: actions/cache@v2 | |
with: | |
path: ${{ steps.setup-haskell.outputs.cabal-store }} | |
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} | |
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}- | |
- uses: ndmitchell/neil@master | |
with: | |
hlint-arguments: preprocessor plugin |