From 66aa81d109bbf734afeff0180ad2f90bc0b3c9e9 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 2 Dec 2023 18:33:45 +0800 Subject: [PATCH 1/2] Drop support for GHC < 8.6 --- .github/workflows/test.yaml | 2 +- filepath.cabal | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4f039dc8..1e84a80a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - ghc: ['8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.7', '9.4.5', '9.6.1'] + ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.7', '9.4.5', '9.6.1'] cabal: ['3.8.1.0'] include: - os: macOS-latest diff --git a/filepath.cabal b/filepath.cabal index 974496d8..4de4b688 100644 --- a/filepath.cabal +++ b/filepath.cabal @@ -16,14 +16,14 @@ category: System build-type: Simple synopsis: Library for manipulating FilePaths in a cross platform way. tested-with: - GHC ==8.0.2 - || ==8.2.2 - || ==8.4.4 - || ==8.6.5 + GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 - || ==9.2.3 + || ==9.2.8 + || ==9.4.8 + || ==9.6.3 + || ==9.8.1 description: This package provides functionality for manipulating @FilePath@ values, and is shipped with . It provides two variants for filepaths: @@ -91,7 +91,7 @@ library default-language: Haskell2010 build-depends: - , base >=4.9 && <4.20 + , base >=4.12.0.0 && <4.20 , bytestring >=0.11.3.0 , deepseq , exceptions From d5c333d6ba925a76a41c381ad31309496bd419bc Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 2 Dec 2023 18:37:42 +0800 Subject: [PATCH 2/2] Update GHC test matrix --- .github/workflows/test.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1e84a80a..c8026f24 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,20 +14,20 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.2.7', '9.4.5', '9.6.1'] + ghc: ['8.6', '8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8'] cabal: ['3.8.1.0'] include: - os: macOS-latest - ghc: '9.4.5' + ghc: '9.4' cabal: '3.8.1.0' - os: macOS-latest - ghc: '9.6.1' + ghc: '9.6' cabal: '3.8.1.0' - os: windows-latest - ghc: '9.4.5' + ghc: '9.4' cabal: '3.8.1.0' - os: windows-latest - ghc: '9.6.1' + ghc: '9.6' cabal: '3.8.1.0' steps: - uses: actions/checkout@v3 @@ -48,7 +48,6 @@ jobs: - name: Build run: | set -eux - [ "$(ghc --numeric-version)" = "${{ matrix.ghc }}" ] cabal update cabal build --enable-tests --enable-benchmarks cabal test