Skip to content

Commit 50d3521

Browse files
authored
Merge pull request #14 from hesselink/ghc-9.8
Allow base-4.19
2 parents 8b6ea00 + 34d11df commit 50d3521

File tree

2 files changed

+28
-20
lines changed

2 files changed

+28
-20
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 22 additions & 15 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.15.20230312
11+
# version: 0.17.20231010
1212
#
13-
# REGENDATA ("0.15.20230312",["github","cabal.project"])
13+
# REGENDATA ("0.17.20231010",["github","cabal.project"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -32,19 +32,24 @@ jobs:
3232
strategy:
3333
matrix:
3434
include:
35-
- compiler: ghc-9.6.1
35+
- compiler: ghc-9.8.1
3636
compilerKind: ghc
37-
compilerVersion: 9.6.1
37+
compilerVersion: 9.8.1
3838
setup-method: ghcup
3939
allow-failure: false
40-
- compiler: ghc-9.4.4
40+
- compiler: ghc-9.6.3
4141
compilerKind: ghc
42-
compilerVersion: 9.4.4
42+
compilerVersion: 9.6.3
4343
setup-method: ghcup
4444
allow-failure: false
45-
- compiler: ghc-9.2.7
45+
- compiler: ghc-9.4.7
4646
compilerKind: ghc
47-
compilerVersion: 9.2.7
47+
compilerVersion: 9.4.7
48+
setup-method: ghcup
49+
allow-failure: false
50+
- compiler: ghc-9.2.8
51+
compilerKind: ghc
52+
compilerVersion: 9.2.8
4853
setup-method: ghcup
4954
allow-failure: false
5055
- compiler: ghc-9.0.2
@@ -120,7 +125,7 @@ jobs:
120125
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
121126
if [ "${{ matrix.setup-method }}" = ghcup ]; then
122127
mkdir -p "$HOME/.ghcup/bin"
123-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
128+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
124129
chmod a+x "$HOME/.ghcup/bin/ghcup"
125130
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
126131
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
@@ -129,7 +134,7 @@ jobs:
129134
apt-get update
130135
apt-get install -y "$HCNAME"
131136
mkdir -p "$HOME/.ghcup/bin"
132-
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
137+
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
133138
chmod a+x "$HOME/.ghcup/bin/ghcup"
134139
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
135140
fi
@@ -145,10 +150,12 @@ jobs:
145150
echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
146151
HCDIR=/opt/$HCKIND/$HCVER
147152
if [ "${{ matrix.setup-method }}" = ghcup ]; then
148-
HC=$HOME/.ghcup/bin/$HCKIND-$HCVER
153+
HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER")
154+
HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#')
155+
HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#')
149156
echo "HC=$HC" >> "$GITHUB_ENV"
150-
echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER" >> "$GITHUB_ENV"
151-
echo "HADDOCK=$HOME/.ghcup/bin/haddock-$HCVER" >> "$GITHUB_ENV"
157+
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
158+
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
152159
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
153160
else
154161
HC=$HCDIR/bin/$HCKIND
@@ -207,8 +214,8 @@ jobs:
207214
- name: install cabal-plan
208215
run: |
209216
mkdir -p $HOME/.cabal/bin
210-
curl -sL https://github.com/haskell-hvr/cabal-plan/releases/download/v0.6.2.0/cabal-plan-0.6.2.0-x86_64-linux.xz > cabal-plan.xz
211-
echo 'de73600b1836d3f55e32d80385acc055fd97f60eaa0ab68a755302685f5d81bc cabal-plan.xz' | sha256sum -c -
217+
curl -sL https://github.com/haskell-hvr/cabal-plan/releases/download/v0.7.3.0/cabal-plan-0.7.3.0-x86_64-linux.xz > cabal-plan.xz
218+
echo 'f62ccb2971567a5f638f2005ad3173dba14693a45154c1508645c52289714cb2 cabal-plan.xz' | sha256sum -c -
212219
xz -d < cabal-plan.xz > $HOME/.cabal/bin/cabal-plan
213220
rm -f cabal-plan.xz
214221
chmod a+x $HOME/.cabal/bin/cabal-plan

type-equality.cabal

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: type-equality
22
version: 1
3-
x-revision: 5
3+
x-revision: 6
44
stability: provisional
55
cabal-version: >=1.10
66
build-type: Simple
@@ -42,17 +42,18 @@ tested-with:
4242
|| ==8.8.4
4343
|| ==8.10.7
4444
|| ==9.0.2
45-
|| ==9.2.7
46-
|| ==9.4.4
47-
|| ==9.6.1
45+
|| ==9.2.8
46+
|| ==9.4.7
47+
|| ==9.6.3
48+
|| ==9.8.1
4849

4950
source-repository head
5051
type: git
5152
location: git://github.com/hesselink/type-equality
5253

5354
library
5455
default-language: Haskell2010
55-
build-depends: base >=4.3 && <4.19
56+
build-depends: base >=4.3 && <4.20
5657

5758
if !impl(ghc >=7.8)
5859
hs-source-dirs: src-old

0 commit comments

Comments
 (0)