From 8a844d4b16da62eea4b656557403259609461746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20L=C3=A4ndle?= Date: Sat, 8 Jun 2024 13:13:51 +0200 Subject: [PATCH] Support ghc-9.10. (#24) * Support ghc-9.10. * We already have 2024. * Use up-to-date haskell setup. --- .github/workflows/ci.yml | 23 ++++++++++++++--------- co-log-polysemy.cabal | 11 ++++++----- src/Colog/Polysemy.hs | 2 +- src/Colog/Polysemy/Effect.hs | 2 +- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 013a64c..a1e6735 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,14 +26,17 @@ jobs: - '8.10.7' - '9.0.2' - '9.2.8' - - '9.4.7' - - '9.6.3' - - '9.8.1' + - '9.4.8' + - '9.6.5' + - '9.8.2' + - '9.10.1' exclude: - os: macOS-latest - ghc: 9.6.3 + ghc: 9.8.2 - os: macOS-latest - ghc: 9.4.7 + ghc: 9.6.5 + - os: macOS-latest + ghc: 9.4.8 - os: macOS-latest ghc: 9.2.8 - os: macOS-latest @@ -48,9 +51,11 @@ jobs: ghc: 8.4.4 - os: windows-latest - ghc: 9.6.3 + ghc: 9.8.2 + - os: windows-latest + ghc: 9.6.5 - os: windows-latest - ghc: 9.4.7 + ghc: 9.4.8 - os: windows-latest ghc: 9.2.8 - os: windows-latest @@ -66,7 +71,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: haskell/actions/setup@v2 + - uses: haskell-actions/setup@v2 id: setup-haskell-cabal name: Setup Haskell with: @@ -100,6 +105,6 @@ jobs: cabal test all - name: Documentation - if: ${{ contains(fromJSON('["9.4.7", "9.6.3"]'), matrix.ghc) }} + if: ${{ contains(fromJSON('["9.4.8", "9.6.5"]'), matrix.ghc) }} run: | cabal haddock diff --git a/co-log-polysemy.cabal b/co-log-polysemy.cabal index 5c7d7c8..18dfd1a 100644 --- a/co-log-polysemy.cabal +++ b/co-log-polysemy.cabal @@ -21,7 +21,7 @@ license: MPL-2.0 license-file: LICENSE author: Dmitrii Kovanikov maintainer: Kowainik -copyright: 2019-2020 Kowainik, 2021-2023 Co-Log +copyright: 2019-2020 Kowainik, 2021-2024 Co-Log category: Logging, Contravariant, Comonad, Effects build-type: Simple stability: provisional @@ -33,16 +33,17 @@ tested-with: GHC == 8.4.4 GHC == 8.10.7 GHC == 9.0.2 GHC == 9.2.8 - GHC == 9.4.7 - GHC == 9.6.3 - GHC == 9.8.1 + GHC == 9.4.8 + GHC == 9.6.5 + GHC == 9.8.2 + GHC == 9.10.1 source-repository head type: git location: https://github.com/co-log/co-log-polysemy.git common common-options - build-depends: base >= 4.11 && < 4.20 + build-depends: base >= 4.11 && < 4.21 ghc-options: -O2 -Wall diff --git a/src/Colog/Polysemy.hs b/src/Colog/Polysemy.hs index 3d760c2..7cf5fd0 100644 --- a/src/Colog/Polysemy.hs +++ b/src/Colog/Polysemy.hs @@ -1,7 +1,7 @@ {- | Module : Colog.Polysemy Copyright : (c) 2019-2020 Kowainik - (c) 2021-2023 Co-Log + (c) 2021-2024 Co-Log SPDX-License-Identifier : MPL-2.0 Maintainer : Co-Log Stability : Provisional diff --git a/src/Colog/Polysemy/Effect.hs b/src/Colog/Polysemy/Effect.hs index 856c6d3..3c63265 100644 --- a/src/Colog/Polysemy/Effect.hs +++ b/src/Colog/Polysemy/Effect.hs @@ -3,7 +3,7 @@ {- | Module : Colog.Polysemy.Effect Copyright : (c) 2019-2020 Kowainik - (c) 2021-2023 Co-Log + (c) 2021-2024 Co-Log SPDX-License-Identifier : MPL-2.0 Maintainer : Co-Log Stability : Provisional