Skip to content

Commit

Permalink
ci: Update Stack matrix (drop GHC 8.0, 8.2, add 9.8)
Browse files Browse the repository at this point in the history
The old version's aren't supported by recent version of Stack any more:

    Error: [S-5973]
      Stack builds with the version of the Cabal package that comes with the specified version of
      GHC. However, Stack no longer supports such Cabal versions before 2.2. Version 2.0.1.0 was
      found. To fix this, either use Stack 2.15.3 or earlier or use a snapshot that specifies a
      version of GHC that is 8.4 or later. Stackage LTS Haskell 12.0 (lts-12.0) or later or Nightly
      2018-03-13 (nightly-2018-03-13) or later specify such GHC versions.

And it's not worth trying to downgrade Stack to support these old
versions.
  • Loading branch information
liskin committed Jan 26, 2025
1 parent 717f03f commit 521c64e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
fail-fast: false
matrix:
include:
- resolver: lts-9 # GHC 8.0
- resolver: lts-11 # GHC 8.2
- resolver: lts-12 # GHC 8.4
- resolver: lts-14 # GHC 8.6
- resolver: lts-16 # GHC 8.8
Expand All @@ -22,6 +20,7 @@ jobs:
- resolver: lts-20 # GHC 9.2
- resolver: lts-21 # GHC 9.4
- resolver: lts-22 # GHC 9.6
- resolver: lts-23 # GHC 9.8

steps:
- name: Clone project
Expand Down

0 comments on commit 521c64e

Please sign in to comment.