Skip to content

Relax bounds for GHC 9.6 #5

Relax bounds for GHC 9.6

Relax bounds for GHC 9.6 #5

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
cabal: ["3.2"]
ghc: ["7.8.4", "7.10.3", "8.0.2", "8.2.2", "8.4.4", "8.6.5", "8.8.4", "8.10.3"]
env:
CONFIG: "--enable-tests"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal v2-update
- run: cabal v2-freeze $CONFIG
- uses: actions/cache@v2
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-
- run: cabal v2-build $CONFIG
- run: cabal v2-sdist