1
1
# This GitHub workflow config has been generated by a script via
2
2
#
3
- # haskell-ci 'github' 'ghc-trace-events.cabal'
3
+ # haskell-ci 'github' '--distribution' 'focal' ' ghc-trace-events.cabal'
4
4
#
5
5
# To regenerate the script (for example after adjusting tested-with) run
6
6
#
7
7
# haskell-ci regenerate
8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.17.20231219
11
+ # version: 0.19.20240514
12
12
#
13
- # REGENDATA ("0.17.20231219 ",["github","ghc-trace-events.cabal"])
13
+ # REGENDATA ("0.19.20240514 ",["github","--distribution","focal ","ghc-trace-events.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
@@ -23,14 +23,24 @@ jobs:
23
23
timeout-minutes :
24
24
60
25
25
container :
26
- image : buildpack-deps:bionic
26
+ image : buildpack-deps:focal
27
27
continue-on-error : ${{ matrix.allow-failure }}
28
28
strategy :
29
29
matrix :
30
30
include :
31
- - compiler : ghc-9.8 .1
31
+ - compiler : ghc-9.10 .1
32
32
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
34
44
setup-method : ghcup
35
45
allow-failure : false
36
46
- compiler : ghc-9.4.8
@@ -187,7 +197,7 @@ jobs:
187
197
chmod a+x $HOME/.cabal/bin/cabal-plan
188
198
cabal-plan --version
189
199
- name : checkout
190
- uses : actions/checkout@v3
200
+ uses : actions/checkout@v4
191
201
with :
192
202
path : source
193
203
- name : initial cabal.project for sdist
@@ -215,15 +225,15 @@ jobs:
215
225
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
216
226
cat >> cabal.project <<EOF
217
227
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
219
229
cat cabal.project
220
230
cat cabal.project.local
221
231
- name : dump install plan
222
232
run : |
223
233
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
224
234
cabal-plan
225
235
- name : restore cache
226
- uses : actions/cache/restore@v3
236
+ uses : actions/cache/restore@v4
227
237
with :
228
238
key : ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
229
239
path : ~/.cabal/store
@@ -250,7 +260,7 @@ jobs:
250
260
rm -f cabal.project.local
251
261
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
252
262
- name : save cache
253
- uses : actions/cache/save@v3
263
+ uses : actions/cache/save@v4
254
264
if : always()
255
265
with :
256
266
key : ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
0 commit comments