From 767e8fd494aacbdcf84dc9432fee99f2d62e8e2c Mon Sep 17 00:00:00 2001 From: John Ky Date: Fri, 12 Jun 2026 18:34:20 +1000 Subject: [PATCH 1/2] chore: update tested GHC versions and dependency bounds - Update tested-with to GHC 9.14.1, 9.12.4, 9.10.3, 9.8.4, 9.6.7, 9.4.8, 9.2.8, 9.0.2, 8.10.7, 8.8.4 (in line with hw-prim) - Update CI GHC matrix to 9.14.1, 9.12.4, 9.10.3, 9.8.4, 9.6.7, 9.4.8 - Widen doctest upper bound to < 0.26 - Widen hedgehog upper bound to < 1.8 --- .github/workflows/haskell.yml | 2 +- hw-bits.cabal | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index e65a47d..10aee6e 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -17,7 +17,7 @@ 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"] + ghc: ["9.14.1", "9.12.4", "9.10.3", "9.8.4", "9.6.7", "9.4.8"] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: - os: windows-latest diff --git a/hw-bits.cabal b/hw-bits.cabal index 1cf2d1c..f857982 100644 --- a/hw-bits.cabal +++ b/hw-bits.cabal @@ -13,7 +13,7 @@ maintainer: newhoggy@gmail.com copyright: 2016-2020 John Ky 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.14.1, GHC == 9.12.4, GHC == 9.10.3, GHC == 9.8.4, GHC == 9.6.7, GHC == 9.4.8, GHC == 9.2.8, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4 build-type: Simple extra-source-files: README.md @@ -32,9 +32,9 @@ common bitvec { build-depends: bitvec >= common bytestring { build-depends: bytestring >= 0.9 && < 0.13 } common criterion { build-depends: criterion >= 1.2 && < 1.7 } common deepseq { build-depends: deepseq >= 1.4 && < 1.6 } -common doctest { build-depends: doctest >= 0.16.2 && < 0.23 } +common doctest { build-depends: doctest >= 0.16.2 && < 0.26 } common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 } -common hedgehog { build-depends: hedgehog >= 0.6 && < 1.5 } +common hedgehog { build-depends: hedgehog >= 0.6 && < 1.8 } common hspec { build-depends: hspec >= 2.4 && < 3 } common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1.0.4 && < 0.2 } common hw-int { build-depends: hw-int >= 0.0.0.1 && < 0.1 } From 11ea49f44d854491d347f005a14644a27db5ff33 Mon Sep 17 00:00:00 2001 From: John Ky Date: Sat, 13 Jun 2026 14:15:50 +1000 Subject: [PATCH 2/2] ci: exclude broken Windows GHC cells (9.14.1 ghc-paths, 9.4.8 doctest) GHC 9.14.1 on Windows cannot solve the doctest dependency because ghc-paths' custom Setup is incompatible with the bundled Cabal 3.16. GHC 9.4.8 on Windows fails because doctest cannot locate the chocolatey-installed ghc.exe. Both are upstream/infra issues with no package-level fix, so exclude those matrix cells. --- .github/workflows/haskell.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 10aee6e..6ed2be9 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -20,8 +20,14 @@ jobs: ghc: ["9.14.1", "9.12.4", "9.10.3", "9.8.4", "9.6.7", "9.4.8"] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: + # GHC 9.14.1 on Windows: ghc-paths' custom Setup is incompatible with + # the bundled Cabal 3.16, so the doctest dependency cannot be solved. - os: windows-latest - ghc: "9.4.2" + ghc: "9.14.1" + # GHC 9.4.8 on Windows: doctest cannot locate the chocolatey-installed + # ghc.exe, so the doctest suite fails to run. + - os: windows-latest + ghc: "9.4.8" env: # Modify this value to "invalidate" the cabal cache.