From 51aacf637a89cab73bcec11d43f69a3c9ca8c4ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Kleidukos?= Date: Fri, 6 Dec 2024 13:41:38 +0100 Subject: [PATCH] Support GHC 9.8.4 --- .github/workflows/release.yml | 4 ---- CHANGELOG.md | 3 +++ compat/{9.8.2 => 9.8.4}/GHC/Compat.hs | 0 print-api.cabal | 12 ++++++------ 4 files changed, 9 insertions(+), 10 deletions(-) rename compat/{9.8.2 => 9.8.4}/GHC/Compat.hs (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d817a8..6aa7e38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,8 +93,6 @@ jobs: if: success() || failure() # always run even if the previous step fails with: report_paths: "report.xml" - cp ${bin} distribution/print-api - echo "$GITHUB_WORKSPACE/distribution" >> "$GITHUB_PATH" - name: Test run: cabal test --project-file=cabal.static.project --test-options "--xml=../print-api/report.xml" all @@ -191,8 +189,6 @@ jobs: if: success() || failure() # always run even if the previous step fails with: report_paths: "report.xml" - cp ${bin} distribution/print-api - echo "$GITHUB_WORKSPACE/distribution" >> "$GITHUB_PATH" - name: Test run: cabal test --project-file=cabal.static.project --test-options "--xml=../print-api/report.xml" all diff --git a/CHANGELOG.md b/CHANGELOG.md index a31049d..fa4ab5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ * Add support for module-level Haddock attribute `Visibility: Public` in order to filter modules. The command-line argument `--public-only` can be combined with `--modules-ignore-list`. + +* Support GHC 9.8.4 + ## 0.1.1.0 * Add support for user-supplied ignore lists of modules ([#18](https://github.com/Kleidukos/print-api/pull/18)) diff --git a/compat/9.8.2/GHC/Compat.hs b/compat/9.8.4/GHC/Compat.hs similarity index 100% rename from compat/9.8.2/GHC/Compat.hs rename to compat/9.8.4/GHC/Compat.hs diff --git a/print-api.cabal b/print-api.cabal index f2da264..65ca778 100644 --- a/print-api.cabal +++ b/print-api.cabal @@ -13,9 +13,9 @@ copyright: © 2023 Ben Gamari, 2024 Hécate Kleidukos extra-source-files: compat/9.10.1/GHC/Compat.hs compat/9.6.6/GHC/Compat.hs - compat/9.8.2/GHC/Compat.hs + compat/9.8.4/GHC/Compat.hs -tested-with: GHC ==9.6.6 || ==9.8.2 || ==9.10.1 +tested-with: GHC ==9.6.6 || ==9.8.4 || ==9.10.1 common extensions default-extensions: @@ -72,8 +72,8 @@ library if impl(ghc ==9.10.1) hs-source-dirs: compat/9.10.1 - if impl(ghc ==9.8.2) - hs-source-dirs: compat/9.8.2 + if impl(ghc ==9.8.4) + hs-source-dirs: compat/9.8.4 if impl(ghc ==9.6.6) hs-source-dirs: compat/9.6.6 @@ -128,11 +128,11 @@ executable print-api-9.6.6 else buildable: False -executable print-api-9.8.2 +executable print-api-9.8.4 import: print-api-common main-is: Main.hs - if impl(ghc ==9.8.2) + if impl(ghc ==9.8.4) buildable: True else