File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ local build(go_version) = {
9595 commands: ['make build' ],
9696 environment: { CGO_ENABLED: '0' },
9797 depends_on: ['mod-download' ],
98+ when: {
99+ event: ['pull_request' , 'push' ],
100+ },
98101};
99102
100103local coverage_report = {
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ steps:
5252 - make build
5353 environment :
5454 CGO_ENABLED : 0
55+ when :
56+ event :
57+ - pull_request
58+ - push
5559 depends_on :
5660 - mod-download
5761
@@ -167,6 +171,10 @@ steps:
167171 - make build
168172 environment :
169173 CGO_ENABLED : 0
174+ when :
175+ event :
176+ - pull_request
177+ - push
170178 depends_on :
171179 - mod-download
172180
@@ -236,6 +244,10 @@ steps:
236244 - make build
237245 environment :
238246 CGO_ENABLED : 0
247+ when :
248+ event :
249+ - pull_request
250+ - push
239251 depends_on :
240252 - mod-download
241253
You can’t perform that action at this time.
0 commit comments