Skip to content

Commit 34eed23

Browse files
authored
Add support for ghc 9.2.5 (#88)
1 parent a56c3f6 commit 34eed23

File tree

6 files changed

+22
-27
lines changed

6 files changed

+22
-27
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest, macOS-latest, windows-latest]
19-
cabal: ["3.6.2.0"]
20-
ghc: ["8.10.7"]
19+
cabal: ["3.8.1.0"]
20+
ghc: ["9.2.5"]
2121

2222
steps:
2323
- uses: actions/checkout@v3
@@ -61,8 +61,8 @@ jobs:
6161
runs-on: ubuntu-latest
6262
strategy:
6363
matrix:
64-
stack: ["2.7.5"]
65-
ghc: ["8.10.7"]
64+
stack: ["2.9.3"]
65+
ghc: ["9.2.5"]
6666

6767
steps:
6868
- uses: actions/checkout@v3
@@ -92,8 +92,8 @@ jobs:
9292
runs-on: ubuntu-latest
9393
strategy:
9494
matrix:
95-
cabal: ["3.6.2.0"]
96-
ghc: ["8.10.7"]
95+
cabal: ["3.8.1.0"]
96+
ghc: ["9.2.5"]
9797
steps:
9898
- uses: actions/checkout@v3
9999

@@ -123,8 +123,8 @@ jobs:
123123
runs-on: ubuntu-latest
124124
strategy:
125125
matrix:
126-
cabal: ["3.6.2.0"]
127-
ghc: ["8.10.7"]
126+
cabal: ["3.8.1.0"]
127+
ghc: ["9.2.5"]
128128
steps:
129129
- uses: actions/checkout@v3
130130

@@ -159,8 +159,8 @@ jobs:
159159
runs-on: ubuntu-latest
160160
strategy:
161161
matrix:
162-
cabal: ["3.6.2.0"]
163-
ghc: ["8.10.7"]
162+
cabal: ["3.8.1.0"]
163+
ghc: ["9.2.5"]
164164
steps:
165165
- uses: actions/checkout@v3
166166

@@ -190,8 +190,8 @@ jobs:
190190
runs-on: ubuntu-latest
191191
strategy:
192192
matrix:
193-
cabal: ["3.6.2.0"]
194-
ghc: ["8.10.7"]
193+
cabal: ["3.8.1.0"]
194+
ghc: ["9.2.5"]
195195
steps:
196196
- uses: actions/checkout@v3
197197

.gitpod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ tasks:
1414
ghcup install cabal 3.6.2.0
1515
ghcup set cabal 3.6.2.0
1616
# Install GHC
17-
ghcup install ghc 8.10.7
18-
ghcup set ghc 8.10.7
17+
ghcup install ghc 9.2.5
18+
ghcup set ghc 9.2.5
1919
2020
command: |
2121
# Update cabal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ To develop in Haskell, you need to install `ghcup`, `ghc` and `cabal`.
118118
terminal, if these tools are not yet installed.
119119

120120
```shell
121-
ghcup install ghc 8.10.7
122-
ghcup set ghc 8.10.7
121+
ghcup install ghc 9.2.5
122+
ghcup set ghc 9.2.5
123123
ghcup install cabal 3.6.2.0
124124
```
125125

@@ -128,7 +128,7 @@ To develop in Haskell, you need to install `ghcup`, `ghc` and `cabal`.
128128

129129
```shell
130130
$ ghc --version
131-
The Glorious Glasgow Haskell Compilation System, version 8.10.7
131+
The Glorious Glasgow Haskell Compilation System, version 9.2.5
132132
$ cabal --version
133133
cabal-install version 3.6.2.0
134134
compiled using version 3.6.2.0 of the Cabal library

cabal.project

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
packages: .
22

33
constraints: hedgehog-classes -aeson -semirings -comonad -vector -primitive
4-
5-
source-repository-package
6-
type: git
7-
location: https://github.com/chshersh/haskell-hedgehog-classes.git
8-
tag: 7a46b92ed62cdae73cdca89db28c71a19020c802

exercises.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ copyright: 2021-2022 Haskell Beginners 2022 Course
1515
build-type: Simple
1616
extra-doc-files: README.md
1717
CHANGELOG.md
18-
tested-with: GHC == 8.10.7
18+
tested-with: GHC == 9.2.5
1919

2020
source-repository head
2121
type: git
2222
location: https://github.com/haskell-beginners-2022/exercises.git
2323

2424
common common-options
25-
build-depends: base ^>= 4.14
25+
build-depends: base >= 4.14 && < 4.17
2626

2727
ghc-options: -Wall
2828
-Wcompat
@@ -96,7 +96,7 @@ test-suite exercises-test
9696
build-depends: exercises
9797
, hspec ^>= 2.9
9898
, hspec-hedgehog ^>= 0.0
99-
, hedgehog ^>= 1.0
99+
, hedgehog ^>= 1.1
100100
, hedgehog-classes ^>= 0.2
101101
, silently ^>= 1.2
102102

@@ -113,4 +113,4 @@ test-suite doctest-lecture2
113113
test-suite doctest-lecture3
114114
import: common-doctest
115115
type: exitcode-stdio-1.0
116-
main-is: DoctestLecture3.hs
116+
main-is: DoctestLecture3.hs

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-18.21
1+
resolver: lts-20.9
22

33
flags:
44
hedgehog-classes:

0 commit comments

Comments
 (0)