Skip to content

Commit

Permalink
Pair cabal version and ghc version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
berberman committed Sep 19, 2023
1 parent c05e255 commit 869cfef
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,21 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
cabal: ["3.2.0.0", "3.4.0.0", "3.6.0.0", "3.8.0.0"]
ghc: ["8.10.7", "9.0.2", "9.2.2", "9.4.6"]
os: [ubuntu-latest]
exclude:
include:
- cabal: "3.2.0.0"
ghc: "9.0.2"
- cabal: "3.2.0.0"
ghc: "9.2.2"
- cabal: "3.4.0.0"
ghc: "9.2.2"
- cabal: "3.6.0.0"
ghc: "8.10.7"
- cabal: "3.6.0.0"
- cabal: "3.4.0.0"
ghc: "9.0.2"
- cabal: "3.6.0.0"
ghc: "9.2.2"
- cabal: "3.8.0.0"
ghc: "9.4.6"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'

- uses: haskell/actions/setup@v1
- uses: haskell/actions/setup@v2
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
Expand Down

0 comments on commit 869cfef

Please sign in to comment.