From 222128031d3b7811867db30568e93ec0dfa98598 Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Wed, 22 Jan 2025 22:02:07 -0500 Subject: [PATCH] Support GHC 9.12 I'm not a Haskell programmer, so I would hope this is sufficient to make this work. I have also opened composewell/unicode-transforms#100 to upgrade that to build for GHC 9.12. This is in support of getting pandoc to build with GHC 9.12 for MacPorts. --- .github/workflows/ci.yml | 5 +++++ unicode-collation.cabal | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e24de0c..51f3215 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,6 +68,11 @@ jobs: prefix: '' cabalopts: '-f-doctests --write-ghc-environment-files=always' testopts: '--test-option=--hide-successes' + - ghc: '9.12' + cabal: '3.14' + prefix: '' + cabalopts: '-f-doctests --write-ghc-environment-files=always' + testopts: '--test-option=--hide-successes' steps: - uses: actions/checkout@v4 diff --git a/unicode-collation.cabal b/unicode-collation.cabal index 032ea06..7b77114 100644 --- a/unicode-collation.cabal +++ b/unicode-collation.cabal @@ -51,7 +51,7 @@ flag executable Default: False common common-options - build-depends: base >= 4.11 && < 4.21 + build-depends: base >= 4.11 && < 4.22 ghc-options: -Wall -Wcompat