Skip to content

Commit

Permalink
CI GHA: Disable build with GHC < 8.4 because of hsc2hs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Nov 17, 2023
1 parent 270ce1d commit b7295de
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,12 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4', '8.2', '8.0']
ghc: ['9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4']
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}

- name: "Work around haskell/hsc2hs#81: hsc2hs-0.68.10 fails to build with GHC < 8.4"
if: matrix.ghc < 8.4
run: |
echo "constraints: any.hsc2hs < 0.68.10" > cabal.project.local
shell: bash

- run: cabal build
- run: cabal haddock
- run: cabal check

0 comments on commit b7295de

Please sign in to comment.