Skip to content

Commit 8a631d9

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
github: order some keys for consistency
Re-order some top level keys under each job so that they're more consistent. From top-to-bottom: strategy, needs, runs-on, env, steps. Some keys are optional. Signed-off-by: John Mulligan <[email protected]>
1 parent aff2001 commit 8a631d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/container-image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
run: make check-gitlint
3737

3838
build-server:
39-
runs-on: ubuntu-latest
4039
strategy:
4140
matrix:
4241
os: [centos, fedora, opensuse]
4342
arch: [amd64]
43+
runs-on: ubuntu-latest
4444
env:
4545
BUILDAH_FORMAT: oci
4646
steps:
@@ -80,9 +80,9 @@ jobs:
8080
matrix:
8181
os: [centos, fedora, opensuse]
8282
arch: [amd64]
83+
runs-on: ubuntu-latest
8384
env:
8485
BUILDAH_FORMAT: oci
85-
runs-on: ubuntu-latest
8686
steps:
8787
- uses: actions/checkout@v3
8888
- name: build the client image
@@ -137,11 +137,11 @@ jobs:
137137
# Reminder: the nightly-server images consume nightly samba rpm builds
138138
# it is not *just* an image that gets built nightly
139139
build-nightly-server:
140-
runs-on: ubuntu-latest
141140
strategy:
142141
matrix:
143142
os: [centos, fedora]
144143
arch: [amd64]
144+
runs-on: ubuntu-latest
145145
env:
146146
BUILDAH_FORMAT: oci
147147
steps:
@@ -156,11 +156,11 @@ jobs:
156156
retention_days: 1
157157

158158
build-nightly-ad-server:
159-
runs-on: ubuntu-latest
160159
strategy:
161160
matrix:
162161
os: [centos, fedora]
163162
arch: [amd64]
163+
runs-on: ubuntu-latest
164164
env:
165165
BUILDAH_FORMAT: oci
166166
steps:

0 commit comments

Comments
 (0)