From de4d10a039b87e4531bdb83af30ea780944b78b6 Mon Sep 17 00:00:00 2001 From: Mark Karpov Date: Sun, 22 Oct 2023 15:32:01 +0200 Subject: [PATCH] Test with GHC 9.8.1, drop 9.2.x --- .github/workflows/ci.yaml | 6 +++--- path-io.cabal | 13 ++++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 206fc6c..281dc8d 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 }} @@ -50,7 +50,7 @@ jobs: strategy: matrix: cabal: ["3.10"] - ghc: ["9.2.8", "9.4.5", "9.6.2"] + ghc: ["9.4.5", "9.6.3", "9.8.1"] env: CONFIG: "--enable-tests --enable-benchmarks --flags=dev" steps: diff --git a/path-io.cabal b/path-io.cabal index ca538f5..a9059a0 100644 --- a/path-io.cabal +++ b/path-io.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/path-io bug-reports: https://github.com/mrkkrp/path-io/issues synopsis: Interface to ‘directory’ package for users of ‘path’ @@ -29,10 +29,10 @@ library exposed-modules: Path.IO default-language: GHC2021 build-depends: - base >=4.15 && <5.0, + base >=4.15 && <5, containers, directory >=1.3.2.0 && <1.4, - dlist >=0.8 && <2.0, + dlist >=0.8 && <2, exceptions >=0.8 && <0.11, filepath >=1.2 && <1.5, path >=0.7.1 && <0.10, @@ -55,9 +55,9 @@ test-suite tests hs-source-dirs: tests default-language: GHC2021 build-depends: - base >=4.15 && <5.0, + base >=4.15 && <5, exceptions >=0.8 && <0.11, - hspec >=2.0 && <3.0, + hspec >=2 && <3, path >=0.7.1 && <0.10, path-io, unix-compat @@ -69,3 +69,6 @@ test-suite tests else ghc-options: -O2 -Wall + + if impl(ghc >=9.8) + ghc-options: -Wno-x-partial