1
1
# This GitHub workflow config has been generated by a script via
2
2
#
3
- # haskell-ci 'github' 'StateVar.cabal' '--output=.github/workflows/haskell-ci.yml'
3
+ # haskell-ci 'github' 'StateVar.cabal' '--distribution=focal' '-- output=.github/workflows/haskell-ci.yml'
4
4
#
5
5
# To regenerate the script (for example after adjusting tested-with) run
6
6
#
10
10
#
11
11
# version: 0.17.20240109
12
12
#
13
- # REGENDATA ("0.17.20240109",["github","StateVar.cabal","--output=.github/workflows/haskell-ci.yml"])
13
+ # REGENDATA ("0.17.20240109",["github","StateVar.cabal","--distribution=focal","-- output=.github/workflows/haskell-ci.yml"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
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 :
88
88
compilerVersion : 7.10.3
89
89
setup-method : hvr-ppa
90
90
allow-failure : false
91
- - compiler : ghc-7.8.4
92
- compilerKind : ghc
93
- compilerVersion : 7.8.4
94
- setup-method : hvr-ppa
95
- allow-failure : false
96
- - compiler : ghc-7.6.3
97
- compilerKind : ghc
98
- compilerVersion : 7.6.3
99
- setup-method : hvr-ppa
100
- allow-failure : false
101
91
- compiler : ghc-7.4.2
102
92
compilerKind : ghc
103
93
compilerVersion : 7.4.2
@@ -217,7 +207,7 @@ jobs:
217
207
chmod a+x $HOME/.cabal/bin/cabal-plan
218
208
cabal-plan --version
219
209
- name : checkout
220
- uses : actions/checkout@v3
210
+ uses : actions/checkout@v4
221
211
with :
222
212
path : source
223
213
- name : initial cabal.project for sdist
@@ -253,7 +243,7 @@ jobs:
253
243
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
254
244
cabal-plan
255
245
- name : restore cache
256
- uses : actions/cache/restore@v3
246
+ uses : actions/cache/restore@v4
257
247
with :
258
248
key : ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
259
249
path : ~/.cabal/store
@@ -280,7 +270,7 @@ jobs:
280
270
rm -f cabal.project.local
281
271
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
282
272
- name : save cache
283
- uses : actions/cache/save@v3
273
+ uses : actions/cache/save@v4
284
274
if : always()
285
275
with :
286
276
key : ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
0 commit comments