Skip to content

Commit

Permalink
[#395] Support GHC-9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vrom911 committed Oct 5, 2022
1 parent f6a4fa2 commit 0ba5ea3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
- "8.6.5"
- "8.8.4"
- "8.10.7"
- "9.0.1"
- "9.0.2"
- "9.2.4"
exclude:
- os: macOS-latest
ghc: 9.0.1
ghc: 9.0.2
- os: macOS-latest
ghc: 8.10.7
- os: macOS-latest
ghc: 8.8.4
- os: macOS-latest
Expand All @@ -34,7 +37,9 @@ jobs:
ghc: 8.4.4

- os: windows-latest
ghc: 9.0.1
ghc: 9.0.2
- os: windows-latest
ghc: 8.10.7
- os: windows-latest
ghc: 8.8.4
- os: windows-latest
Expand All @@ -60,7 +65,7 @@ jobs:
run: |
cabal freeze
- uses: actions/cache@v3.0.10
- uses: actions/cache@v3
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
Expand Down Expand Up @@ -100,7 +105,7 @@ jobs:
ghc-version: ${{ matrix.ghc }}
stack-version: ${{ matrix.stack }}

- uses: actions/cache@v3.0.10
- uses: actions/cache@v3
name: Cache ~/.stack
with:
path: ~/.stack
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
`tomland` uses [PVP Versioning][1].
The changelog is available [on GitHub][2].

## Unreleased

* [#395](https://github.com/kowainik/tomland/issues/395):
Support GHC-9.2.4.
* Upgrade `text` to version `2`.
* Upgrade `hedgehog` and `hspec`.

## 🍁 1.3.3.1 — Nov 8, 2021

* Disable building executables by default
Expand Down
16 changes: 10 additions & 6 deletions tomland.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ license: MPL-2.0
license-file: LICENSE
author: Dmitrii Kovanikov, Veronika Romashkina
maintainer: Kowainik <[email protected]>
copyright: 2018-2021 Kowainik
copyright: 2018-2022 Kowainik
category: TOML, Text, Configuration
build-type: Simple
extra-doc-files: README.md
Expand All @@ -38,7 +38,8 @@ tested-with: GHC == 8.4.4
GHC == 8.6.5
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.1
GHC == 9.0.2
GHC == 9.2.4

source-repository head
type: git
Expand All @@ -55,7 +56,7 @@ flag build-play-tomland
manual: True

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

ghc-options: -Wall
-Wcompat
Expand All @@ -73,6 +74,9 @@ common common-options
-Werror=missing-deriving-strategies
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
if impl(ghc >= 9.2)
ghc-options:
-Wredundant-bang-patterns

default-language: Haskell2010
default-extensions: DeriveGeneric
Expand Down Expand Up @@ -133,7 +137,7 @@ library
, megaparsec >= 7.0.5 && < 9.3
, mtl ^>= 2.2
, parser-combinators >= 1.1.0 && < 1.4
, text ^>= 1.2
, text >= 1.2 && < 2.1
, time >= 1.8 && < 1.14
, transformers >= 0.5 && < 0.7
, unordered-containers ^>= 0.2.7
Expand Down Expand Up @@ -222,8 +226,8 @@ test-suite tomland-test
build-depends: bytestring
, containers >= 0.5.7 && < 0.7
, hashable
, hedgehog ^>= 1.0.1
, hspec >= 2.7.1 && < 2.9
, hedgehog >= 1.0.1 && < 1.3
, hspec >= 2.7.1 && < 2.11
, hspec-hedgehog ^>= 0.0.1
, hspec-megaparsec >= 2.0.0 && < 2.3.0
, megaparsec
Expand Down

0 comments on commit 0ba5ea3

Please sign in to comment.