From ef3551bf54708cf47597963da906ea6a70a41ac4 Mon Sep 17 00:00:00 2001 From: Tom Ellis Date: Fri, 9 Jan 2026 10:54:57 +0000 Subject: [PATCH] Support GHC 9.14 Use cabal.project to relax boring's bounds. This will allow CI to run, but not leak into released sdists. --- .github/workflows/ci.yml | 3 ++- cabal.project | 3 +++ validation-selective.cabal | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 cabal.project diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 713b6da..e4b187f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: # We must always use the latest version of cabal because # otherwise ghc-paths, which is a dependency of doctest, # can't be configured. - cabal: ["3.10"] + cabal: ["3.16"] ghc: - "8.6.5" - "8.8.4" @@ -32,6 +32,7 @@ jobs: - "9.8.1" - "9.10.1" - "9.12.1" + - "9.14.1" exclude: - os: macOS-latest ghc: 9.6.3 diff --git a/cabal.project b/cabal.project new file mode 100644 index 0000000..586b803 --- /dev/null +++ b/cabal.project @@ -0,0 +1,3 @@ +packages: validation-selective.cabal + +allow-newer: boring:base diff --git a/validation-selective.cabal b/validation-selective.cabal index f14e83b..5f627f5 100644 --- a/validation-selective.cabal +++ b/validation-selective.cabal @@ -37,7 +37,7 @@ source-repository head location: https://github.com/kowainik/validation-selective.git common common-options - build-depends: base >= 4.12 && < 4.22 + build-depends: base >= 4.12 && < 4.23 ghc-options: -Wall -Wcompat