Skip to content

Commit

Permalink
CI: use GHC 9.8.1 and 9.6.3
Browse files Browse the repository at this point in the history
 - 9.6.3 fixed the false positives with `-Wredundant-constraints`

 - `haskell/actions/setup` got deprecated in favor of `haskell-actions/setup`
  • Loading branch information
amesgen authored and mrkkrp committed Oct 15, 2023
1 parent cb8e1c4 commit 4a3ed9c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
strategy:
matrix:
cabal: ["3.10"]
ghc: ["9.2.8", "9.4.7", "9.6.2"]
ghc: ["9.2.8", "9.4.7", "9.6.3", "9.8.1"]
env:
CONFIG: "--enable-tests --enable-benchmarks --flags=dev"
steps:
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v2
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
Expand Down
2 changes: 1 addition & 1 deletion megaparsec-tests/megaparsec-tests.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: BSD-2-Clause
license-file: LICENSE.md
maintainer: Mark Karpov <[email protected]>
author: Megaparsec contributors
tested-with: ghc ==9.2.7 ghc ==9.4.4 ghc ==9.6.1
tested-with: ghc ==9.2.8 ghc ==9.4.7 ghc ==9.6.3 ghc ==9.8.1
homepage: https://github.com/mrkkrp/megaparsec
bug-reports: https://github.com/mrkkrp/megaparsec/issues
synopsis: Test utilities and the test suite of Megaparsec
Expand Down
6 changes: 4 additions & 2 deletions megaparsec.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ author:
Paolo Martini <[email protected]>,
Daan Leijen <[email protected]>

tested-with: ghc ==9.2.8 ghc ==9.4.7 ghc ==9.6.2
tested-with: ghc ==9.2.8 ghc ==9.4.7 ghc ==9.6.3 ghc ==9.8.1
homepage: https://github.com/mrkkrp/megaparsec
bug-reports: https://github.com/mrkkrp/megaparsec/issues
synopsis: Monadic parser combinators
Expand Down Expand Up @@ -68,7 +68,9 @@ library
transformers >=0.4 && <0.7

if flag(dev)
ghc-options: -Wall -Werror -Wpartial-fields -Wunused-packages
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages

else
ghc-options: -O2 -Wall
Expand Down

0 comments on commit 4a3ed9c

Please sign in to comment.