Skip to content

Commit

Permalink
Test with GHC 9.8.1, drop 9.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Oct 18, 2023
1 parent 001dfa0 commit cfc91a9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 30 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.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
58 changes: 30 additions & 28 deletions modern-uri.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license: BSD-3-Clause
license-file: LICENSE.md
maintainer: Mark Karpov <[email protected]>
author: Mark Karpov <[email protected]>
tested-with: ghc ==9.2.8 ghc ==9.4.7 ghc ==9.6.2
tested-with: ghc ==9.4.7 ghc ==9.6.3 ghc ==9.8.1
homepage: https://github.com/mrkkrp/modern-uri
bug-reports: https://github.com/mrkkrp/modern-uri/issues
synopsis: Modern library for working with URIs
Expand Down Expand Up @@ -40,46 +40,48 @@ library

default-language: Haskell2010
build-depends:
QuickCheck >=2.4 && <3.0,
base >=4.15 && <5.0,
bytestring >=0.2 && <0.12,
QuickCheck >=2.4 && <3,
base >=4.15 && <5,
bytestring >=0.2 && <0.13,
containers >=0.5 && <0.7,
deepseq >=1.3 && <1.5,
deepseq >=1.3 && <1.6,
exceptions >=0.6 && <0.11,
hashable >=1.3 && <2.0,
megaparsec >=7.0 && <10.0,
mtl >=2.0 && <3.0,
profunctors >=5.2.1 && <6.0,
reflection >=2.0 && <3.0,
hashable >=1.3 && <2,
megaparsec >=8 && <10,
mtl >=2 && <3,
profunctors >=5.2.1 && <6,
reflection >=2 && <3,
tagged >=0.8 && <0.9,
template-haskell >=2.10 && <2.21,
text >=0.2 && <2.1
template-haskell >=2.10 && <2.22,
text >=0.2 && <2.2

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

test-suite tests
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
hs-source-dirs: tests
other-modules:
Text.QQSpec
Text.URISpec

default-language: GHC2021
build-depends:
QuickCheck >=2.4 && <3.0,
base >=4.15 && <5.0,
bytestring >=0.2 && <0.12,
hspec >=2.0 && <3.0,
hspec-megaparsec >=2.0 && <3.0,
megaparsec >=8.0 && <10.0,
QuickCheck >=2.4 && <3,
base >=4.15 && <5,
bytestring >=0.2 && <0.13,
hspec >=2 && <3,
hspec-megaparsec >=2 && <3,
megaparsec >=8 && <10,
modern-uri,
text >=0.2 && <2.1
text >=0.2 && <2.2

if flag(dev)
ghc-options:
Expand All @@ -96,11 +98,11 @@ benchmark bench-speed
default-language: GHC2021
build-depends:
base >=4.15 && <5.0,
bytestring >=0.2 && <0.12,
bytestring >=0.2 && <0.13,
criterion >=0.6.2.1 && <1.7,
megaparsec >=8.0 && <10.0,
megaparsec >=8 && <10,
modern-uri,
text >=0.2 && <2.1
text >=0.2 && <2.2

if flag(dev)
ghc-options:
Expand All @@ -116,11 +118,11 @@ benchmark bench-memory
hs-source-dirs: bench/memory
default-language: GHC2021
build-depends:
base >=4.15 && <5.0,
bytestring >=0.2 && <0.12,
megaparsec >=8.0 && <10.0,
base >=4.15 && <5,
bytestring >=0.2 && <0.13,
megaparsec >=8 && <10,
modern-uri,
text >=0.2 && <2.1,
text >=0.2 && <2.2,
weigh >=0.0.4

if flag(dev)
Expand Down

0 comments on commit cfc91a9

Please sign in to comment.