File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 68
68
# - '.github/**'
69
69
sh:
70
70
- "**.sh"
71
+ go:
72
+ - "**.go"
71
73
ts:
72
74
- 'site/**'
73
75
k8s:
92
94
name : style/lint/golangci
93
95
timeout-minutes : 5
94
96
runs-on : ubuntu-latest
97
+ needs : changes
98
+ if : needs.changes.outputs.go == 'true'
95
99
steps :
96
100
- uses : actions/checkout@v3
97
101
- uses : actions/setup-go@v3
@@ -284,6 +288,8 @@ jobs:
284
288
name : " test/go"
285
289
runs-on : ${{ matrix.os }}
286
290
timeout-minutes : 20
291
+ needs : changes
292
+ if : needs.changes.outputs.go == 'true'
287
293
strategy :
288
294
matrix :
289
295
os :
@@ -368,6 +374,8 @@ jobs:
368
374
# goroutines. Setting this to the timeout +5m should work quite well
369
375
# even if some of the preceding steps are slow.
370
376
timeout-minutes : 25
377
+ needs : changes
378
+ if : needs.changes.outputs.go == 'true'
371
379
steps :
372
380
- uses : actions/checkout@v3
373
381
You can’t perform that action at this time.
0 commit comments