aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-12-11 22:01:36 +0100
committerJohn MacFarlane <[email protected]>2025-12-11 22:02:16 +0100
commit0679d22ae1eb3b3ae784660d611b77dd2b081751 (patch)
treedc642b76f071a08157e1377b8b02a0ea3251cd43
parent47ada83bcb74e1007838cc125709539c5663906b (diff)
Drop support for ghc < 9.6.
Build nightly and release candidates using ghc 9.12.
-rw-r--r--.github/workflows/ci.yml16
-rw-r--r--.github/workflows/nightly.yml6
-rw-r--r--.github/workflows/release-candidate.yml4
-rw-r--r--CONTRIBUTING.md6
-rw-r--r--pandoc.cabal4
5 files changed, 11 insertions, 25 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 83bf86c9d..6fb8ff5d9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -47,18 +47,6 @@ jobs:
matrix:
versions:
# NOTE: Update `CONTRIBUTING.md` when changing the minimum version
- - ghc: '8.10'
- cabal: 'latest'
- cabalopts: '--ghc-option=-Werror'
- - ghc: '9.0'
- cabal: 'latest'
- cabalopts: '--ghc-option=-Werror'
- - ghc: '9.2'
- cabal: 'latest'
- cabalopts: '--ghc-option=-Werror'
- - ghc: '9.4'
- cabal: 'latest'
- cabalopts: '--ghc-option=-Werror'
- ghc: '9.6'
cabal: 'latest'
cabalopts: '--ghc-option=-Werror'
@@ -183,8 +171,8 @@ jobs:
- name: Install ghc
run: |
- ghcup install ghc --set 9.4.4
- ghcup install cabal --set 3.10
+ ghcup install ghc --set 9.10
+ ghcup install cabal --set latest
# declare/restore cached things
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 0252ffa26..e61c2f779 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -17,7 +17,7 @@ jobs:
- name: Install ghc
run: |
- ghcup install ghc --set 9.8
+ ghcup install ghc --set 9.12
ghcup install cabal --set 3.14
- name: Install dependencies
@@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v6
- name: Install ghc
run: |
- ghcup install ghc --set 9.8
+ ghcup install ghc --set 9.12
ghcup install cabal --set 3.14
- name: Install dependencies
run: |
@@ -80,7 +80,7 @@ jobs:
brew install ghcup
- name: Install ghc
run: |
- ghcup install ghc --set 9.8
+ ghcup install ghc --set 9.12
ghcup install cabal --set 3.14
echo "$HOME/.ghcup/bin" >> "${GITHUB_PATH}"
- name: Install dependencies
diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml
index 79b01fd12..6ece2ac61 100644
--- a/.github/workflows/release-candidate.yml
+++ b/.github/workflows/release-candidate.yml
@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v6
- name: Install ghc
run: |
- ghcup install ghc --set 9.8
+ ghcup install ghc --set 9.12
ghcup install cabal --set 3.12
- name: Install dependencies
@@ -88,7 +88,7 @@ jobs:
- name: Install ghc and cabal
run: |
- ghcup install ghc --set 9.8
+ ghcup install ghc --set 9.12
ghcup install cabal --set 3.12
echo "$HOME/.ghcup/bin" >> "${GITHUB_PATH}"
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 07a0a4c36..31d337203 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -215,9 +215,9 @@ Please follow these guidelines:
external C libraries should especially be avoided.
10. We aim for compatibility with at least the last three
- released ghc versions, and sometimes more. Currently pandoc
- can be compiled on ghc 8.10 and higher. All pull requests and
- commits are tested automatically on GitHub Actions.
+ released ghc versions, and sometimes more. Currently we
+ support ghc versions 9.6 and higher. All pull requests
+ and commits are tested automatically on GitHub Actions.
Tests
-----
diff --git a/pandoc.cabal b/pandoc.cabal
index 9916f3571..c0cdd745c 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -11,9 +11,7 @@ bug-reports: https://github.com/jgm/pandoc/issues
stability: alpha
homepage: https://pandoc.org
category: Text
-tested-with: GHC == 8.10.7, GHC == 9.0.2,
- GHC == 9.2.5, GHC == 9.4.4, GHC == 9.6.3,
- GHC == 9.8.2, GHC == 9.10.1
+tested-with: GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2
synopsis: Conversion between markup formats
description: Pandoc is a Haskell library for converting from one markup
format to another. The formats it can handle include