@@ -66,18 +66,20 @@ jobs:
66
66
GHC_FOR_RELEASE : ${{ format('["{0}"]', env.GHC_FOR_RELEASE) }}
67
67
strategy :
68
68
matrix :
69
- os : ['ubuntu-latest', 'macos-13', 'windows-latest']
70
- # If you remove something from here.. then add it to the old-ghcs job.
69
+ os : [ubuntu-latest, macos-13, windows-latest]
70
+ # If you remove something from here, then add it to the old-ghcs job.
71
+ # Also a removed GHC from here means that we are actually dropping
72
+ # support, so the PR *must* have a changelog entry.
71
73
ghc : ['9.8.2', '9.6.4', '9.4.8', '9.2.8', '9.0.2', '8.10.7', '8.8.4', '8.6.5']
72
74
exclude :
73
75
# corrupts GHA cache or the fabric of reality itself, see https://github.com/haskell/cabal/issues/8356
74
- - os : ' windows-latest'
76
+ - os : windows-latest
75
77
ghc : ' 8.10.7'
76
78
# lot of segfaults caused by ghc bugs
77
- - os : ' windows-latest'
79
+ - os : windows-latest
78
80
ghc : ' 8.8.4'
79
81
# it often randomly does "C:\Users\RUNNER~1\AppData\Local\Temp\ghcFEDE.c: DeleteFile "\\\\?\\C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ghcFEDE.c": permission denied (Access is denied.)"
80
- - os : ' windows-latest'
82
+ - os : windows-latest
81
83
ghc : ' 8.6.5'
82
84
83
85
steps :
@@ -210,7 +212,7 @@ jobs:
210
212
211
213
validate-old-ghcs :
212
214
name : Validate old ghcs ${{ matrix.extra-ghc }}
213
- runs-on : ' ubuntu-latest'
215
+ runs-on : ubuntu-latest
214
216
needs : validate
215
217
216
218
strategy :
@@ -269,7 +271,7 @@ jobs:
269
271
270
272
build-alpine :
271
273
name : Build statically linked using alpine
272
- runs-on : ' ubuntu-latest'
274
+ runs-on : ubuntu-latest
273
275
container : ' alpine:3.19'
274
276
steps :
275
277
- name : Install extra dependencies
@@ -340,7 +342,7 @@ jobs:
340
342
needs : validate
341
343
strategy :
342
344
matrix :
343
- os : [' ubuntu-latest', ' macos-latest', ' windows-latest' ]
345
+ os : [ubuntu-latest, macos-latest, windows-latest]
344
346
# We only use one ghc version the used one for the next release (defined at top of the workflow)
345
347
# We need to build an array dynamically to inject the appropiate env var in a previous job,
346
348
# see https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson
@@ -380,11 +382,11 @@ jobs:
380
382
381
383
prerelease-head :
382
384
name : Create a GitHub prerelease with the binary artifacts
383
- runs-on : ' ubuntu-latest'
385
+ runs-on : ubuntu-latest
384
386
if : github.ref == 'refs/heads/master'
385
387
386
388
# IMPORTANT! Any job added to the workflow should be added here too
387
- needs : [' validate', ' validate-old-ghcs', ' build-alpine', ' dogfooding' ]
389
+ needs : [validate, validate-old-ghcs, build-alpine, dogfooding]
388
390
389
391
steps :
390
392
- uses : actions/download-artifact@v3
@@ -423,9 +425,9 @@ jobs:
423
425
validate-post-job :
424
426
if : always()
425
427
name : Validate post job
426
- runs-on : ' ubuntu-latest'
428
+ runs-on : ubuntu-latest
427
429
# IMPORTANT! Any job added to the workflow should be added here too
428
- needs : [' validate', ' validate-old-ghcs', ' build-alpine', ' dogfooding' ]
430
+ needs : [validate, validate-old-ghcs, build-alpine, dogfooding]
429
431
430
432
steps :
431
433
- run : |
0 commit comments