Skip to content

Commit

Permalink
CI: Explicitly pin cabal 3.8.1.0
Browse files Browse the repository at this point in the history
Not only is pinning the `cabal` version good practice, but `cabal` 3.8.1.0 in
particular likely contains a bugfix needed to make `cabal list-bin` work as
expected.
  • Loading branch information
RyanGlScott committed Mar 15, 2023
1 parent d54f5f1 commit 8d7c9bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-12, windows-latest]
cabal: ["3.8.1.0"]
ghc: ["8.8.4", "8.10.7", "9.2.7"]
run-tests: [true]
include:
Expand All @@ -76,15 +77,18 @@ jobs:
# tests with the newest LTS release, we won't bother testing this one.
- os: ubuntu-20.04
ghc: "8.10.7"
cabal: "3.8.1.0"
run-tests: false
exclude:
# Exclude 8.8 on macOS 12 due to
# https://gitlab.haskell.org/ghc/ghc/-/issues/18446
- os: macos-12
ghc: "8.8.4"
cabal: "3.8.1.0"
run-tests: true
- os: windows-latest
ghc: "8.8.4"
cabal: "3.8.1.0"
run-tests: true
outputs:
cabal-test-suites-json: ${{ steps.cabal-test-suites.outputs.targets-json }}
Expand All @@ -105,6 +109,7 @@ jobs:
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}

- name: Post-GHC installation fixups on Windows
shell: bash
Expand Down

0 comments on commit 8d7c9bc

Please sign in to comment.