From 1dc625696b2a7d678780573b1d6884a4ac828bc4 Mon Sep 17 00:00:00 2001 From: Alexey Kuleshevich Date: Mon, 6 Jan 2025 11:43:12 -0700 Subject: [PATCH] Add ghc-9.12 to CI and update tested-with in cabal Update upper bound for doctest to include a version that works with ghc-9.12 --- .github/workflows/ci.yml | 9 ++++++--- mwc-random.cabal | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83fe986..ef378aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,9 @@ jobs: - { cabal: "3.12", os: ubuntu-latest, ghc: "9.2.8" } - { cabal: "3.12", os: ubuntu-latest, ghc: "9.4.8" } - { cabal: "3.12", os: ubuntu-latest, ghc: "9.6.6" } - - { cabal: "3.12", os: ubuntu-latest, ghc: "9.8.2" } + - { cabal: "3.12", os: ubuntu-latest, ghc: "9.8.4" } - { cabal: "3.12", os: ubuntu-latest, ghc: "9.10.1" } + - { cabal: "3.12", os: ubuntu-latest, ghc: "9.12.1" } ## -- Win -- - { cabal: "3.12", os: windows-latest, ghc: "8.4.4" } - { cabal: "3.12", os: windows-latest, ghc: "8.6.5" } @@ -39,8 +40,9 @@ jobs: - { cabal: "3.12", os: windows-latest, ghc: "9.2.8" } - { cabal: "3.12", os: windows-latest, ghc: "9.4.8" } - { cabal: "3.12", os: windows-latest, ghc: "9.6.6" } - - { cabal: "3.12", os: windows-latest, ghc: "9.8.2" } + - { cabal: "3.12", os: windows-latest, ghc: "9.8.4" } - { cabal: "3.12", os: windows-latest, ghc: "9.10.1" } + - { cabal: "3.12", os: windows-latest, ghc: "9.12.1" } # MacOS - { cabal: "3.12", os: macOS-13, ghc: "8.4.4" } - { cabal: "3.12", os: macOS-13, ghc: "8.6.5" } @@ -50,8 +52,9 @@ jobs: - { cabal: "3.12", os: macOS-latest, ghc: "9.2.8" } - { cabal: "3.12", os: macOS-latest, ghc: "9.4.8" } - { cabal: "3.12", os: macOS-latest, ghc: "9.6.6" } - - { cabal: "3.12", os: macOS-latest, ghc: "9.8.2" } + - { cabal: "3.12", os: macOS-latest, ghc: "9.8.4" } - { cabal: "3.12", os: macOS-latest, ghc: "9.10.1" } + - { cabal: "3.12", os: macOS-latest, ghc: "9.12.1" } fail-fast: false steps: diff --git a/mwc-random.cabal b/mwc-random.cabal index b49fb5b..f647fff 100644 --- a/mwc-random.cabal +++ b/mwc-random.cabal @@ -45,9 +45,10 @@ tested-with: || ==9.0.2 || ==9.2.8 || ==9.4.8 - || ==9.6.5 - || ==9.6.5 - || ==9.8.2 + || ==9.6.6 + || ==9.8.4 + || ==9.10.1 + || ==9.12.1 source-repository head @@ -141,7 +142,7 @@ test-suite mwc-doctests build-depends: base -any , mwc-random -any - , doctest >=0.15 && <0.23 + , doctest >=0.15 && <0.24 -- , bytestring , primitive