From d353d0eac21eb6774ee93ec09b646a6dee3d2280 Mon Sep 17 00:00:00 2001 From: John Ky Date: Wed, 23 Jul 2025 21:32:03 +1000 Subject: [PATCH] Tested with ghc-9.12.2 --- .github/workflows/haskell.yml | 4 ++-- cabal.project | 4 ++++ hw-xml.cabal | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 2837190..62b5ee5 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -17,8 +17,8 @@ jobs: strategy: fail-fast: false matrix: - ghc: ["9.8.1", "9.6.3", "9.4.8", "9.2.8", "9.0.2", "8.10.7"] - os: [ubuntu-latest, macOS-latest, windows-latest] + ghc: ["9.12.2", "9.10.2", "9.8.4", "9.6.7"] + os: [ubuntu-latest] env: # Modify this value to "invalidate" the cabal cache. diff --git a/cabal.project b/cabal.project index e6fdbad..e6a8f8f 100644 --- a/cabal.project +++ b/cabal.project @@ -1 +1,5 @@ packages: . + +allow-newer: + hedgehog:template-haskell, + doctest:ghc, diff --git a/hw-xml.cabal b/hw-xml.cabal index 37be120..e59050d 100644 --- a/hw-xml.cabal +++ b/hw-xml.cabal @@ -14,7 +14,7 @@ copyright: 2016-2021 John Ky , 2016-2019 Alexey Raga license: BSD-3-Clause license-file: LICENSE -tested-with: GHC == 9.2.2, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5 +tested-with: GHC == 9.12.2, GHC == 9.10.2, GHC == 9.8.4, GHC == 9.6.7, GHC == 9.4.4, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5 build-type: Simple extra-source-files: README.md data-files: data/catalog.xml @@ -36,8 +36,8 @@ common deepseq { build-depends: deepseq >= common doctest { build-depends: doctest >= 0.16.2 && < 0.23 } common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 } common generic-lens { build-depends: generic-lens >= 2.2 && < 2.3 } -common ghc-prim { build-depends: ghc-prim >= 0.5 && < 0.12 } -common hedgehog { build-depends: hedgehog >= 1.0 && < 1.5 } +common ghc-prim { build-depends: ghc-prim >= 0.5 && < 1 } +common hedgehog { build-depends: hedgehog >= 1.0 && < 2 } common hspec { build-depends: hspec >= 2.5 && < 3 } common hw-balancedparens { build-depends: hw-balancedparens >= 0.3.0.1 && < 0.5 } common hw-bits { build-depends: hw-bits >= 0.7.0.9 && < 0.8 }