diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b3ddda..138b3c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - cabal: ["3.2.0.0", "3.4.0.0", "3.10.1.0"] - ghc: ["8.6.5", "8.8.3", "8.10.5", "9.0.1", "9.6.2"] + cabal: ["3.4.0.0", "3.8.1.0", "3.10.1.0"] + ghc: ["9.0.2", "9.2.8", "9.4.7", "9.6.2"] os: [ubuntu-latest, macOS-latest] steps: diff --git a/app/Main.hs b/app/Main.hs index f292ee5..7de3e3a 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -8,7 +8,7 @@ module Main (main) where import Control.Monad (unless, when) import qualified Data.Text as T import qualified Data.Text.IO as T -#if !MIN_VERSION_Cabal(3,10,0) +#if !MIN_VERSION_Cabal(3,6,0) import Distribution.PackageDescription.Parsec (readGenericPackageDescription) #else import Distribution.Simple.PackageDescription (readGenericPackageDescription) diff --git a/uusi.cabal b/uusi.cabal index 11d7e33..ce48d9c 100644 --- a/uusi.cabal +++ b/uusi.cabal @@ -34,7 +34,7 @@ source-repository head common common-options build-depends: , base >=4.8 && <5 - , Cabal ^>=3.2 || ^>=3.4 || ^>=3.10 + , Cabal ^>=3.2 || ^>=3.4 || ==3.6.3 || ^>= 3.8 || ^>= 3.10 , text ghc-options: