Skip to content

Handle GHC 9.8's x-partial warning, requires dropping GHC 7 #21

Handle GHC 9.8's x-partial warning, requires dropping GHC 7

Handle GHC 9.8's x-partial warning, requires dropping GHC 7 #21

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: ${{ matrix.os }} / GHC ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ghc:
- 8.0.2
- 8.2.2
- 8.4.4
- 8.6.5
- 8.8.4
- 8.10.7
- 9.0.2
- 9.2.8
- 9.4.8
- 9.6.6
- 9.8.2
- 9.10.1
include:
- os: macos-latest
ghc: latest
- os: windows-latest
ghc: latest
steps:
- uses: actions/checkout@v4
- uses: hspec/setup-haskell@v1
with:
ghc-version: ${{ matrix.ghc }}
- uses: sol/run-haskell-tests@v1
success:
needs: build
runs-on: ubuntu-latest
if: always() # this is required as GitHub considers "skipped" jobs as "passed" when checking branch protection rules
steps:
- run: false
if: needs.build.result != 'success'