Skip to content

Commit 41838d2

Browse files
authored
[#117] Support GHC 9.2 (#119)
Resolves #117
1 parent f453452 commit 41838d2

File tree

7 files changed

+49
-20
lines changed

7 files changed

+49
-20
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
commit-message:
8+
prefix: "GA"
9+
include: "scope"
10+
labels:
11+
- "CI"
12+
- "dependencies"

.github/workflows/ci.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
types: [synchronize, opened, reopened]
67
push:
@@ -9,25 +10,27 @@ on:
910
# additionally run once per week (At 00:00 on Sunday) to maintain cache
1011
- cron: '0 0 * * 0'
1112

12-
1313
jobs:
1414
cabal:
1515
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, macOS-latest, windows-latest]
20-
cabal: ["3.4"]
20+
cabal: ["3.6.2.0"]
2121
ghc:
2222
- "8.2.2"
2323
- "8.4.4"
2424
- "8.6.5"
2525
- "8.8.4"
26-
- "8.10.5"
27-
- "9.0.1"
26+
- "8.10.7"
27+
- "9.0.2"
28+
- "9.2.1"
2829
exclude:
2930
- os: macOS-latest
30-
ghc: 8.10.5
31+
ghc: 9.0.2
32+
- os: macOS-latest
33+
ghc: 8.10.7
3134
- os: macOS-latest
3235
ghc: 8.8.4
3336
- os: macOS-latest
@@ -38,7 +41,9 @@ jobs:
3841
ghc: 8.2.2
3942

4043
- os: windows-latest
41-
ghc: 8.10.5
44+
ghc: 9.0.2
45+
- os: windows-latest
46+
ghc: 8.10.7
4247
- os: windows-latest
4348
ghc: 8.8.4
4449
- os: windows-latest
@@ -49,9 +54,9 @@ jobs:
4954
ghc: 8.2.2
5055

5156
steps:
52-
- uses: actions/checkout@v2.3.4
57+
- uses: actions/checkout@v2
5358

54-
- uses: haskell/actions/[email protected].3
59+
- uses: haskell/actions/[email protected]
5560
id: setup-haskell-cabal
5661
name: Setup Haskell
5762
with:
@@ -66,7 +71,7 @@ jobs:
6671
run: |
6772
cabal freeze
6873
69-
- uses: actions/cache@v2.1.6
74+
- uses: actions/cache@v2
7075
name: Cache ~/.cabal/store
7176
with:
7277
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
@@ -83,3 +88,7 @@ jobs:
8388
- name: Test
8489
run: |
8590
cabal test all
91+
92+
- name: Documentation
93+
run: |
94+
cabal haddock

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
`typerep-map` uses [PVP Versioning][1].
44
The changelog is available [on GitHub][2].
55

6+
## 0.5.0.0 — Feb 15, 2022
7+
8+
* [#117](https://github.com/kowainik/typerep-map/issues/117):
9+
Support GHC-9.2
10+
* [#112](https://github.com/kowainik/typerep-map/issues/112):
11+
Change `TypeRepMap` parameter role to `representational`.
12+
613
## 0.4.0.0 — Aug 3, 2021
714

815
* [#109](https://github.com/kowainik/typerep-map/issues/109):

src/Data/TMap.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
{- |
55
Module : Data.TMap
6-
Copyright : (c) 2017-2021 Kowainik
6+
Copyright : (c) 2017-2022 Kowainik
77
SPDX-License-Identifier : MPL-2.0
88
Maintainer : Kowainik <[email protected]>
99
Stability : Stable

src/Data/TypeRepMap.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{- |
44
Module : Data.TypeRepMap
5-
Copyright : (c) 2017-2021 Kowainik
5+
Copyright : (c) 2017-2022 Kowainik
66
SPDX-License-Identifier : MPL-2.0
77
Maintainer : Kowainik <[email protected]>
88
Stability : Stable

src/Data/TypeRepMap/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
{- |
2424
Module : Data.TypeRepMap.Internal
25-
Copyright : (c) 2017-2021 Kowainik
25+
Copyright : (c) 2017-2022 Kowainik
2626
SPDX-License-Identifier : MPL-2.0
2727
Maintainer : Kowainik <[email protected]>
2828
Stability : Stable

typerep-map.cabal

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: typerep-map
3-
version: 0.4.0.0
3+
version: 0.5.0.0
44
synopsis: Efficient implementation of a dependent map with types as keys
55
description:
66
A dependent map from type representations to values of these types.
@@ -23,7 +23,7 @@ license: MPL-2.0
2323
license-file: LICENSE
2424
author: Veronika Romashkina, Vladislav Zavialov, Dmitrii Kovanikov
2525
maintainer: Kowainik <[email protected]>
26-
copyright: 2017-2021 Kowainik
26+
copyright: 2017-2022 Kowainik
2727
category: Data, Data Structures, Types
2828
build-type: Simple
2929
extra-doc-files: README.md
@@ -32,15 +32,16 @@ tested-with: GHC == 8.2.2
3232
, GHC == 8.4.4
3333
, GHC == 8.6.5
3434
, GHC == 8.8.4
35-
, GHC == 8.10.5
36-
, GHC == 9.0.1
35+
, GHC == 8.10.7
36+
, GHC == 9.0.2
37+
, GHC == 9.2.1
3738

3839
source-repository head
3940
type: git
4041
location: https://github.com/kowainik/typerep-map.git
4142

4243
common common-options
43-
build-depends: base >= 4.10 && < 4.16
44+
build-depends: base >= 4.10 && < 4.17
4445

4546
default-language: Haskell2010
4647
default-extensions: BangPatterns
@@ -72,7 +73,7 @@ library
7273
Data.TypeRepMap
7374
Data.TypeRepMap.Internal
7475

75-
build-depends: ghc-prim >= 0.5.1.1 && < 0.8
76+
build-depends: ghc-prim >= 0.5.1.1 && < 0.9
7677
, primitive ^>= 0.7.0
7778
, deepseq ^>= 1.4
7879

@@ -100,8 +101,8 @@ test-suite typerep-map-test
100101
, Test.TypeRep.VectorOpt
101102

102103
build-depends: ghc-typelits-knownnat >= 0.4.2 && < 0.8
103-
, hedgehog ^>= 1.0
104-
, hspec >= 2.7.1 && < 2.9
104+
, hedgehog >= 1.0 && < 1.2
105+
, hspec >= 2.7.1 && < 2.10
105106
, hspec-hedgehog ^>= 0.0.1
106107
, typerep-map
107108
, typerep-extra-impls

0 commit comments

Comments
 (0)