Skip to content

Commit

Permalink
Support GHC 9.6 and 9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Nov 6, 2023
1 parent 9f45962 commit 8cd8c80
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -16,15 +16,24 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
cabal: ["3.8"]
# We must always use the latest version of cabal because
# otherwise ghc-paths, which is a dependency of doctest,
# can't be configured.
cabal: ["3.10"]
ghc:
- "8.6.5"
- "8.8.4"
- "8.10.7"
- "9.0.2"
- "9.2.7"
- "9.4.4"
- "9.6.3"
- "9.8.1"
exclude:
- os: macOS-latest
ghc: 9.6.3
- os: macOS-latest
ghc: 9.4.4
- os: macOS-latest
ghc: 9.2.7
- os: macOS-latest
Expand All @@ -36,6 +45,10 @@ jobs:
- os: macOS-latest
ghc: 8.6.5

- os: windows-latest
ghc: 9.6.3
- os: windows-latest
ghc: 9.4.4
- os: windows-latest
ghc: 9.2.7
- os: windows-latest
Expand Down
14 changes: 7 additions & 7 deletions validation-selective.cabal
Expand Up @@ -37,7 +37,7 @@ source-repository head
location: https://github.com/kowainik/validation-selective.git

common common-options
build-depends: base >= 4.12 && < 4.18
build-depends: base >= 4.12 && < 4.20

ghc-options: -Wall
-Wcompat
Expand Down Expand Up @@ -79,7 +79,7 @@ library
hs-source-dirs: src
exposed-modules: Validation
Validation.Combinators
build-depends: deepseq ^>= 1.4.3.0
build-depends: deepseq >= 1.4.3.0 && < 1.6
, selective >= 0.3 && < 0.7

test-suite validation-selective-test
Expand All @@ -91,11 +91,11 @@ test-suite validation-selective-test
Test.Laws
Test.Properties
build-depends: validation-selective
, hedgehog >= 1.0 && < 1.3
, hspec >= 2.7.1 && < 2.11
, hspec-hedgehog ^>= 0.0.1.1
, hedgehog >= 1.0 && < 1.5
, hspec >= 2.7.1 && < 2.12
, hspec-hedgehog >= 0.0.1.1 && < 0.2
, selective
, text >= 1.2.3 && < 2.1
, text >= 1.2.3 && < 2.2
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
Expand All @@ -105,5 +105,5 @@ test-suite validation-selective-doctest
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Doctest.hs
build-depends: doctest >= 0.16 && < 0.22
build-depends: doctest >= 0.16 && < 0.23
ghc-options: -threaded

0 comments on commit 8cd8c80

Please sign in to comment.