Skip to content

Commit 933c62f

Browse files
committed
fix validate.yml conflicts
How is this backport conflicting with _itself_?
1 parent 3669629 commit 933c62f

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.github/workflows/validate.yml

+11-21
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,18 @@ jobs:
6666
GHC_FOR_RELEASE: ${{ format('["{0}"]', env.GHC_FOR_RELEASE) }}
6767
strategy:
6868
matrix:
69-
os: [ubuntu-latest, macos-latest, windows-latest]
69+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
7070
# If you remove something from here.. then add it to the old-ghcs job.
71-
<<<<<<< HEAD
72-
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"]
73-
=======
7471
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']
75-
>>>>>>> 29dc53c33 (CI: drop validation of GHC 7)
7672
exclude:
7773
# corrupts GHA cache or the fabric of reality itself, see https://github.com/haskell/cabal/issues/8356
78-
- os: windows-latest
74+
- os: 'windows-latest'
7975
ghc: '8.10.7'
8076
# lot of segfaults caused by ghc bugs
81-
- os: windows-latest
77+
- os: 'windows-latest'
8278
ghc: '8.8.4'
8379
# 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.)"
84-
- os: windows-latest
80+
- os: 'windows-latest'
8581
ghc: '8.6.5'
8682

8783
steps:
@@ -214,7 +210,7 @@ jobs:
214210

215211
validate-old-ghcs:
216212
name: Validate old ghcs ${{ matrix.extra-ghc }}
217-
runs-on: ubuntu-latest
213+
runs-on: 'ubuntu-latest'
218214
needs: validate
219215

220216
strategy:
@@ -272,15 +268,9 @@ jobs:
272268
run: sh validate.sh ${{ env.COMMON_FLAGS }} --lib-only -s lib-suite-extras --extra-hc "${{ env.EXTRA_GHC }}"
273269

274270
build-alpine:
275-
<<<<<<< HEAD
276-
name: Build statically linked using alpine
277-
runs-on: "ubuntu-latest"
278-
container: "alpine:3.19"
279-
=======
280271
name: Build statically linked using alpine
281-
runs-on: ubuntu-latest
272+
runs-on: 'ubuntu-latest'
282273
container: 'alpine:3.19'
283-
>>>>>>> 29dc53c33 (CI: drop validation of GHC 7)
284274
steps:
285275
- name: Install extra dependencies
286276
shell: sh
@@ -350,7 +340,7 @@ jobs:
350340
needs: validate
351341
strategy:
352342
matrix:
353-
os: [ubuntu-latest, macos-latest, windows-latest]
343+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
354344
# We only use one ghc version the used one for the next release (defined at top of the workflow)
355345
# We need to build an array dynamically to inject the appropiate env var in a previous job,
356346
# see https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson
@@ -390,11 +380,11 @@ jobs:
390380

391381
prerelease-head:
392382
name: Create a GitHub prerelease with the binary artifacts
393-
runs-on: ubuntu-latest
383+
runs-on: 'ubuntu-latest'
394384
if: github.ref == 'refs/heads/master'
395385

396386
# IMPORTANT! Any job added to the workflow should be added here too
397-
needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
387+
needs: ['validate', 'validate-old-ghcs', 'build-alpine', 'dogfooding']
398388

399389
steps:
400390
- uses: actions/download-artifact@v3
@@ -433,9 +423,9 @@ jobs:
433423
validate-post-job:
434424
if: always()
435425
name: Validate post job
436-
runs-on: ubuntu-latest
426+
runs-on: 'ubuntu-latest'
437427
# IMPORTANT! Any job added to the workflow should be added here too
438-
needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
428+
needs: ['validate', 'validate-old-ghcs', 'build-alpine', 'dogfooding']
439429

440430
steps:
441431
- run: |

0 commit comments

Comments
 (0)