Skip to content

Commit e536909

Browse files
authored
Merge pull request #15 from jhrcek/jhrcek/ghc-9.10
2 parents 4fd5a27 + 2debb76 commit e536909

File tree

2 files changed

+24
-13
lines changed

2 files changed

+24
-13
lines changed

.github/workflows/haskell-ci.yml

+20-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# This GitHub workflow config has been generated by a script via
22
#
3-
# haskell-ci 'github' 'ghc-trace-events.cabal'
3+
# haskell-ci 'github' '--distribution' 'focal' 'ghc-trace-events.cabal'
44
#
55
# To regenerate the script (for example after adjusting tested-with) run
66
#
77
# haskell-ci regenerate
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.17.20231219
11+
# version: 0.19.20240514
1212
#
13-
# REGENDATA ("0.17.20231219",["github","ghc-trace-events.cabal"])
13+
# REGENDATA ("0.19.20240514",["github","--distribution","focal","ghc-trace-events.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -23,14 +23,24 @@ jobs:
2323
timeout-minutes:
2424
60
2525
container:
26-
image: buildpack-deps:bionic
26+
image: buildpack-deps:focal
2727
continue-on-error: ${{ matrix.allow-failure }}
2828
strategy:
2929
matrix:
3030
include:
31-
- compiler: ghc-9.8.1
31+
- compiler: ghc-9.10.1
3232
compilerKind: ghc
33-
compilerVersion: 9.8.1
33+
compilerVersion: 9.10.1
34+
setup-method: ghcup
35+
allow-failure: false
36+
- compiler: ghc-9.8.2
37+
compilerKind: ghc
38+
compilerVersion: 9.8.2
39+
setup-method: ghcup
40+
allow-failure: false
41+
- compiler: ghc-9.6.5
42+
compilerKind: ghc
43+
compilerVersion: 9.6.5
3444
setup-method: ghcup
3545
allow-failure: false
3646
- compiler: ghc-9.4.8
@@ -187,7 +197,7 @@ jobs:
187197
chmod a+x $HOME/.cabal/bin/cabal-plan
188198
cabal-plan --version
189199
- name: checkout
190-
uses: actions/checkout@v3
200+
uses: actions/checkout@v4
191201
with:
192202
path: source
193203
- name: initial cabal.project for sdist
@@ -215,15 +225,15 @@ jobs:
215225
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
216226
cat >> cabal.project <<EOF
217227
EOF
218-
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(ghc-trace-events)$/; }' >> cabal.project.local
228+
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(ghc-trace-events)$/; }' >> cabal.project.local
219229
cat cabal.project
220230
cat cabal.project.local
221231
- name: dump install plan
222232
run: |
223233
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
224234
cabal-plan
225235
- name: restore cache
226-
uses: actions/cache/restore@v3
236+
uses: actions/cache/restore@v4
227237
with:
228238
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
229239
path: ~/.cabal/store
@@ -250,7 +260,7 @@ jobs:
250260
rm -f cabal.project.local
251261
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
252262
- name: save cache
253-
uses: actions/cache/save@v3
263+
uses: actions/cache/save@v4
254264
if: always()
255265
with:
256266
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}

ghc-trace-events.cabal

+4-3
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ tested-with: GHC == 7.10.3
4747
|| == 9.0.2
4848
|| == 9.2.8
4949
|| == 9.4.8
50-
|| == 9.6.4
51-
|| == 9.8.1
50+
|| == 9.6.5
51+
|| == 9.8.2
52+
|| == 9.10.1
5253

53-
common base { build-depends: base >= 4.8 && < 4.20 }
54+
common base { build-depends: base >= 4.8 && < 4.21 }
5455
common bytestring { build-depends: bytestring >= 0.9.2 && < 0.13 }
5556
common criterion { build-depends: criterion < 1.6 }
5657
common ghc-trace-events { build-depends: ghc-trace-events }

0 commit comments

Comments
 (0)