Skip to content

Commit

Permalink
GHC 9.6 (#17)
Browse files Browse the repository at this point in the history
* Support ghc-9.4.

* Allow newest polysemy version.

* Support GHC-9.6

* Use newer cabal.

* Only build documentation on newer compilers.

* Updated ghc 9.4 version.

---------

Co-authored-by: Andreas Ländle <[email protected]>
  • Loading branch information
alaendle and alaendle authored Sep 7, 2023
1 parent 2fba407 commit ee4e49b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,46 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
cabal: ["3.6.2.0"]
cabal: ["3.10.1.0"]
ghc:
- "8.4.4"
- "8.6.5"
- "8.8.4"
- "8.10.7"
- "9.0.2"
- "9.2.3"
- "9.2.8"
- "9.4.7"
- "9.6.2"
exclude:
- os: macOS-latest
ghc: 9.2.8
- os: macOS-latest
ghc: 9.0.2
- os: macOS-latest
ghc: 8.10.7
- os: macOS-latest
ghc: 8.8.4
- os: macOS-latest
ghc: 8.6.5
- os: macOS-latest
ghc: 8.4.4
- os: macOS-latest
ghc: 8.2.2

- os: windows-latest
ghc: 9.2.8
- os: windows-latest
ghc: 9.0.2
- os: windows-latest
ghc: 8.10.7
- os: windows-latest
ghc: 8.8.4
- os: windows-latest
ghc: 8.6.5
- os: windows-latest
ghc: 8.4.4

- os: windows-latest
ghc: 8.2.2
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -80,5 +93,6 @@ jobs:
cabal test all
- name: Documentation
if: ${{ contains(fromJSON('["9.4.7", "9.6.2"]'), matrix.ghc) }}
run: |
cabal haddock
10 changes: 6 additions & 4 deletions co-log-polysemy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ license: MPL-2.0
license-file: LICENSE
author: Dmitrii Kovanikov
maintainer: Kowainik <[email protected]>
copyright: 2019-2020 Kowainik, 2021-2022 Co-Log
copyright: 2019-2020 Kowainik, 2021-2023 Co-Log
category: Logging, Contravariant, Comonad, Effects
build-type: Simple
stability: provisional
Expand All @@ -32,14 +32,16 @@ tested-with: GHC == 8.4.4
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.2
GHC == 9.2.3
GHC == 9.2.8
GHC == 9.4.7
GHC == 9.6.2

source-repository head
type: git
location: https://github.com/co-log/co-log-polysemy.git

common common-options
build-depends: base >= 4.11 && < 4.17
build-depends: base >= 4.11 && < 4.19

ghc-options: -O2
-Wall
Expand Down Expand Up @@ -93,7 +95,7 @@ library
Colog.Polysemy.Effect

build-depends: co-log-core ^>= 0.3.0.0
, polysemy >= 1.2.0.0 && < 1.7
, polysemy >= 1.2.0.0 && < 1.10

executable play-colog-poly
import: common-options
Expand Down

0 comments on commit ee4e49b

Please sign in to comment.