Skip to content

Commit a1a4830

Browse files
committed
Add GHC 9.2 CI
1 parent 26e8089 commit a1a4830

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.14
11+
# version: 0.14.3
1212
#
13-
# REGENDATA ("0.14",["github","cabal.project","--config","cabal.haskell-ci"])
13+
# REGENDATA ("0.14.3",["github","cabal.project","--config","cabal.haskell-ci"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -32,6 +32,11 @@ jobs:
3232
strategy:
3333
matrix:
3434
include:
35+
- compiler: ghc-9.2.2
36+
compilerKind: ghc
37+
compilerVersion: 9.2.2
38+
setup-method: ghcup
39+
allow-failure: false
3540
- compiler: ghc-9.0.2
3641
compilerKind: ghc
3742
compilerVersion: 9.0.2
@@ -60,7 +65,7 @@ jobs:
6065
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
6166
if [ "${{ matrix.setup-method }}" = ghcup ]; then
6267
mkdir -p "$HOME/.ghcup/bin"
63-
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
68+
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
6469
chmod a+x "$HOME/.ghcup/bin/ghcup"
6570
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
6671
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
@@ -69,7 +74,7 @@ jobs:
6974
apt-get update
7075
apt-get install -y "$HCNAME"
7176
mkdir -p "$HOME/.ghcup/bin"
72-
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
77+
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
7378
chmod a+x "$HOME/.ghcup/bin/ghcup"
7479
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
7580
fi

cabal.haskell-ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
branches: master
22

3+
distribution: focal
4+
35
constraint-set servant-0.17
46
ghc: >= 8.0 && <8.10
57
constraints: servant ==0.17.*

example/example.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ tested-with:
1818
|| ==8.8.4
1919
|| ==8.10.7
2020
|| ==9.0.2
21+
|| ==9.2.2
2122

2223
library
2324
ghc-options: -Wall

servant-openapi3.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tested-with:
3333
|| ==8.8.4
3434
|| ==8.10.7
3535
|| ==9.0.2
36+
|| ==9.2.2
3637

3738
extra-source-files:
3839
README.md

0 commit comments

Comments
 (0)