Skip to content

Commit c7b0681

Browse files
authored
[#95] Support GHC-9.2 (#96)
* [#95] Support GHC-9.2 Resolves #95 * Update src/Colourista/Short.hs
1 parent f0cb1eb commit c7b0681

File tree

8 files changed

+32
-17
lines changed

8 files changed

+32
-17
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @chshersh @vrom911
1+
* @vrom911

.github/workflows/ci.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ jobs:
2323
- "8.6.5"
2424
- "8.8.4"
2525
- "8.10.4"
26-
- "9.0.1"
26+
- "9.0.2"
27+
- "9.2.4"
28+
- "9.4.2"
2729
exclude:
30+
- os: macOS-latest
31+
ghc: 9.0.2
2832
- os: macOS-latest
2933
ghc: 8.10.4
3034
- os: macOS-latest
@@ -36,6 +40,8 @@ jobs:
3640
- os: macOS-latest
3741
ghc: 8.2.2
3842

43+
- os: windows-latest
44+
ghc: 9.0.2
3945
- os: windows-latest
4046
ghc: 8.10.4
4147
- os: windows-latest
@@ -49,7 +55,7 @@ jobs:
4955
steps:
5056
- uses: actions/checkout@v3
5157

52-
- uses: haskell/actions/setup@v1.2.9
58+
- uses: haskell/actions/setup@v2
5359
id: setup-haskell-cabal
5460
name: Setup Haskell
5561
with:
@@ -64,7 +70,7 @@ jobs:
6470
run: |
6571
cabal freeze
6672
67-
- uses: actions/cache@v3.0.10
73+
- uses: actions/cache@v3
6874
name: Cache ~/.cabal/store
6975
with:
7076
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
@@ -97,13 +103,13 @@ jobs:
97103
steps:
98104
- uses: actions/checkout@v3
99105

100-
- uses: haskell/actions/setup@v1.2.9
106+
- uses: haskell/actions/setup@v2
101107
name: Setup Haskell Stack
102108
with:
103109
ghc-version: ${{ matrix.ghc }}
104110
stack-version: ${{ matrix.stack }}
105111

106-
- uses: actions/cache@v3.0.10
112+
- uses: actions/cache@v3
107113
name: Cache ~/.stack
108114
with:
109115
path: ~/.stack

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
`colourista` uses [PVP Versioning][1].
44
The changelog is available [on GitHub][2].
55

6+
## 0.1.0.2 – Oct 5, 2022
7+
8+
* [#95](https://github.com/kowainik/colourista/issues/95):
9+
Support GHC-9.2.
10+
* Support GHC-9.4.
11+
* Upgrade `text` to version `2.0`.
12+
* Upgrade `hspec` version.
13+
614
## 🐰🥚 0.1.0.1 — Apr 5, 2021
715

816
* [#55](https://github.com/kowainik/colourista/issues/55):

colourista.cabal

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: colourista
3-
version: 0.1.0.1
3+
version: 0.1.0.2
44
synopsis: Convenient interface for printing colourful messages
55
description: Convenient interface for printing colourful messages based on the @ansi-terminal@ library.
66
homepage: https://github.com/kowainik/colourista
@@ -9,7 +9,7 @@ license: MPL-2.0
99
license-file: LICENSE
1010
author: Veronika Romashkina, Dmitrii Kovanikov
1111
maintainer: Kowainik <[email protected]>
12-
copyright: 2020-2021 Kowainik
12+
copyright: 2020-2022 Kowainik
1313
category: Terminal, ANSI
1414
build-type: Simple
1515
extra-doc-files: README.md
@@ -19,14 +19,16 @@ tested-with: GHC == 8.2.2
1919
GHC == 8.6.5
2020
GHC == 8.8.4
2121
GHC == 8.10.4
22-
GHC == 9.0.1
22+
GHC == 9.0.2
23+
GHC == 9.2.4
24+
GHC == 9.4.2
2325

2426
source-repository head
2527
type: git
2628
location: https://github.com/kowainik/colourista.git
2729

2830
common common-options
29-
build-depends: base >= 4.10.1.0 && < 4.16
31+
build-depends: base >= 4.10.1.0 && < 4.18
3032

3133
ghc-options: -Wall
3234
-Wcompat
@@ -73,8 +75,7 @@ library
7375

7476
build-depends: ansi-terminal >= 0.10 && < 0.12
7577
, bytestring >= 0.10 && < 0.12
76-
, ghc-prim >= 0.5 && < 0.8
77-
, text ^>= 1.2.3.0
78+
, text >= 1.2.3.0 && < 2.1
7879

7980
test-suite colourista-test
8081
import: common-options
@@ -85,7 +86,7 @@ test-suite colourista-test
8586

8687
build-depends: colourista
8788
, bytestring
88-
, hspec >= 2.7.1 && < 2.9
89+
, hspec >= 2.7.1 && < 2.11
8990
, text
9091

9192
ghc-options: -threaded

src/Colourista.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- |
2-
Copyright: (c) 2020-2021 Kowainik
2+
Copyright: (c) 2020-2022 Kowainik
33
SPDX-License-Identifier: MPL-2.0
44
Maintainer: Kowainik <[email protected]>
55

src/Colourista/IO.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{-# LANGUAGE CPP #-}
22

33
{- |
4-
Copyright: (c) 2020-2021 Kowainik
4+
Copyright: (c) 2020-2022 Kowainik
55
SPDX-License-Identifier: MPL-2.0
66
Maintainer: Kowainik <[email protected]>
77

src/Colourista/Pure.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- |
2-
Copyright: (c) 2020-2021 Kowainik
2+
Copyright: (c) 2020-2022 Kowainik
33
SPDX-License-Identifier: MPL-2.0
44
Maintainer: Kowainik <[email protected]>
55

src/Colourista/Short.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{-# LANGUAGE CPP #-}
22

33
{- |
4-
Copyright: (c) 2020-2021 Kowainik
4+
Copyright: (c) 2020-2022 Kowainik
55
SPDX-License-Identifier: MPL-2.0
66
Maintainer: Kowainik <[email protected]>
77

0 commit comments

Comments
 (0)