Skip to content

Commit

Permalink
Update supported versions (#10)
Browse files Browse the repository at this point in the history
- Add support for GHC 9.8. 9.8 uses Cabal 3.10.2.0 which is a strict bug fix release, so no changes expected.
- Fully support Cabal 3.6. The previous change was actually introduced in 3.8, so all 3.6 releases have the same behaviour.
  • Loading branch information
Vekhir authored Oct 18, 2023
1 parent cd11ec2 commit 19fa92b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
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"]
ghc: ["9.0.2", "9.2.8", "9.4.7", "9.6.2", "9.8.1"]
os: [ubuntu-latest, macOS-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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,6,0)
#if !MIN_VERSION_Cabal(3,8,0)
import Distribution.PackageDescription.Parsec (readGenericPackageDescription)
#else
import Distribution.Simple.PackageDescription (readGenericPackageDescription)
Expand Down
10 changes: 5 additions & 5 deletions uusi.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ extra-doc-files:
README.md

tested-with:
GHC ==8.6.5
|| ==8.8.3
|| ==8.10.5
|| ==9.0.1
GHC ==9.0.2
|| ==9.2.8
|| ==9.4.7
|| ==9.6.2
|| ==9.8.1

source-repository head
type: git
Expand All @@ -34,7 +34,7 @@ source-repository head
common common-options
build-depends:
, base >=4.8 && <5
, Cabal ^>=3.2 || ^>=3.4 || ==3.6.3 || ^>= 3.8 || ^>= 3.10
, Cabal ^>=3.2 || ^>=3.4 || ^>=3.6 || ^>= 3.8 || ^>= 3.10
, text

ghc-options:
Expand Down

0 comments on commit 19fa92b

Please sign in to comment.