diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f162b4e..6b976c6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }} diff --git a/text-metrics.cabal b/text-metrics.cabal index ca29dc0..466c82f 100644 --- a/text-metrics.cabal +++ b/text-metrics.cabal @@ -5,7 +5,7 @@ license: BSD-3-Clause license-file: LICENSE.md maintainer: Mark Karpov author: Mark Karpov -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/text-metrics bug-reports: https://github.com/mrkkrp/text-metrics/issues synopsis: Calculate various string metrics efficiently @@ -29,9 +29,9 @@ library exposed-modules: Data.Text.Metrics default-language: GHC2021 build-depends: - base >=4.15 && <5.0, + base >=4.15 && <5, containers >=0.5 && <0.7, - text >=0.2 && <2.1, + text >=0.2 && <2.2, vector >=0.11 && <0.14 if flag(dev) @@ -48,10 +48,10 @@ test-suite tests hs-source-dirs: tests default-language: GHC2021 build-depends: - QuickCheck >=2.8 && <3.0, - base >=4.15 && <5.0, - hspec >=2.0 && <3.0, - text >=0.2 && <2.1, + QuickCheck >=2.8 && <3, + base >=4.15 && <5, + hspec >=2.0 && <3, + text >=0.2 && <2.2, text-metrics if flag(dev) @@ -68,10 +68,10 @@ benchmark bench-speed hs-source-dirs: bench/speed default-language: GHC2021 build-depends: - base >=4.15 && <5.0, + base >=4.15 && <5, criterion >=0.6.2.1 && <1.7, - deepseq >=1.3 && <1.5, - text >=0.2 && <2.1, + deepseq >=1.3 && <1.6, + text >=0.2 && <2.2, text-metrics if flag(dev) @@ -88,9 +88,9 @@ benchmark bench-memory hs-source-dirs: bench/memory default-language: GHC2021 build-depends: - base >=4.15 && <5.0, - deepseq >=1.3 && <1.5, - text >=0.2 && <2.1, + base >=4.15 && <5, + deepseq >=1.3 && <1.6, + text >=0.2 && <2.2, text-metrics, weigh >=0.0.4