12
12
GO_VERSION : 1.22.3
13
13
14
14
jobs :
15
+ setup-runners :
16
+ runs-on : [self-hosted, base1]
17
+
18
+ steps :
19
+ - name : Start GitHub Runners
20
+ run : |
21
+ start_github_runners.sh
22
+ shell : bash
23
+
24
+ - name : Wait for Runners to Be Ready
25
+ run : sleep 60
26
+
15
27
setup-params :
16
- runs-on : self-hosted
28
+ runs-on : [self-hosted, docker]
29
+ needs : [setup-runners]
17
30
steps :
18
31
- uses : actions/checkout@v4
19
32
47
60
run : echo "Cache saved"
48
61
49
62
setup-deps :
50
- runs-on : self-hosted
63
+ runs-on : [self-hosted, docker]
64
+ needs : [setup-runners]
51
65
outputs :
52
66
make_deps_key : ${{ steps.make_deps.outputs.key }}
53
67
make_deps_path : ${{ steps.make_deps.outputs.path }}
@@ -101,7 +115,7 @@ jobs:
101
115
path : ${{ steps.make_deps.outputs.path }}
102
116
103
117
build-all :
104
- runs-on : self-hosted
118
+ runs-on : [ self-hosted, docker]
105
119
needs : [setup-deps]
106
120
steps :
107
121
- uses : actions/checkout@v4
@@ -127,7 +141,7 @@ jobs:
127
141
shell : bash
128
142
129
143
test :
130
- runs-on : self-hosted
144
+ runs-on : [ self-hosted, docker]
131
145
needs : [setup-params, setup-deps]
132
146
strategy :
133
147
matrix :
@@ -188,7 +202,7 @@ jobs:
188
202
189
203
lint :
190
204
needs : [setup-deps]
191
- runs-on : self-hosted
205
+ runs-on : [ self-hosted, docker]
192
206
steps :
193
207
- uses : actions/checkout@v4
194
208
@@ -219,7 +233,7 @@ jobs:
219
233
shell : bash
220
234
221
235
gofmt :
222
- runs-on : self-hosted
236
+ runs-on : [ self-hosted, docker]
223
237
steps :
224
238
- uses : actions/checkout@v4
225
239
@@ -245,7 +259,7 @@ jobs:
245
259
shell : bash
246
260
247
261
cbor-check :
248
- runs-on : self-hosted
262
+ runs-on : [ self-hosted, docker]
249
263
steps :
250
264
- uses : actions/checkout@v4
251
265
@@ -278,7 +292,7 @@ jobs:
278
292
shell : bash
279
293
280
294
docs-check :
281
- runs-on : self-hosted
295
+ runs-on : [ self-hosted, docker]
282
296
steps :
283
297
- uses : actions/checkout@v4
284
298
@@ -307,7 +321,7 @@ jobs:
307
321
shell : bash
308
322
309
323
gen-check :
310
- runs-on : self-hosted
324
+ runs-on : [ self-hosted, docker]
311
325
steps :
312
326
- uses : actions/checkout@v4
313
327
@@ -340,7 +354,7 @@ jobs:
340
354
shell : bash
341
355
342
356
lid-docker-compose :
343
- runs-on : self-hosted
357
+ runs-on : [ self-hosted, docker]
344
358
needs : [setup-params, setup-deps]
345
359
steps :
346
360
- uses : actions/checkout@v4
@@ -377,7 +391,7 @@ jobs:
377
391
shell : bash
378
392
379
393
mod-tidy-check :
380
- runs-on : self-hosted
394
+ runs-on : [ self-hosted, docker]
381
395
steps :
382
396
- uses : actions/checkout@v4
383
397
0 commit comments