13
13
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
14
14
name : " Static analysis"
15
15
runs-on : ubuntu-20.04
16
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
17
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
18
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
19
16
steps :
20
17
- uses : actions/setup-go@v2
21
18
with :
53
50
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
54
51
name : " Unit tests"
55
52
runs-on : ubuntu-20.04
56
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
57
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
58
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
59
53
steps :
60
54
- uses : actions/setup-go@v2
61
55
with :
@@ -108,9 +102,6 @@ jobs:
108
102
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
109
103
name : " Integration tests"
110
104
runs-on : ubuntu-20.04
111
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
112
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
113
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
114
105
steps :
115
106
- uses : actions/setup-go@v2
116
107
with :
@@ -234,9 +225,6 @@ jobs:
234
225
Build-Snapshot-Artifacts :
235
226
name : " Build snapshot artifacts"
236
227
runs-on : ubuntu-20.04
237
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
238
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
239
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
240
228
steps :
241
229
- uses : actions/setup-go@v2
242
230
with :
@@ -277,9 +265,6 @@ jobs:
277
265
name : " Acceptance tests (Linux)"
278
266
needs : [Build-Snapshot-Artifacts]
279
267
runs-on : ubuntu-20.04
280
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
281
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
282
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
283
268
steps :
284
269
- uses : actions/checkout@v2
285
270
@@ -296,9 +281,6 @@ jobs:
296
281
name : " Acceptance tests (Mac)"
297
282
needs : [Build-Snapshot-Artifacts]
298
283
runs-on : macos-latest
299
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
300
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
301
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
302
284
steps :
303
285
- uses : actions/checkout@v2
304
286
@@ -322,9 +304,6 @@ jobs:
322
304
name : " CLI tests (Linux)"
323
305
needs : [Build-Snapshot-Artifacts]
324
306
runs-on : ubuntu-20.04
325
- # run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
326
- # skip if this is a pull_request event on an internal PR (which is already covered by push events)
327
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
328
307
steps :
329
308
- uses : actions/checkout@v2
330
309
0 commit comments