File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
stages :
9
9
- prepare
10
+ - lint
10
11
- test
12
+ - post-test
11
13
12
14
variables :
13
15
FF_USE_FASTZIP : ' true'
@@ -174,10 +176,12 @@ race:
174
176
- make test_golang_race
175
177
176
178
code_quality :
179
+ stage : lint
177
180
extends : .use-docker-in-docker
178
181
rules : *workflow_rules
179
182
180
183
code_navigation :
184
+ stage : post-test
181
185
image : sourcegraph/lsif-go:v1.9
182
186
allow_failure : true
183
187
script :
@@ -188,17 +192,21 @@ code_navigation:
188
192
189
193
# SAST
190
194
semgrep-sast :
195
+ stage : lint
191
196
rules : *workflow_rules
192
197
193
198
# Dependency Scanning
194
199
gemnasium-dependency_scanning :
200
+ stage : lint
195
201
rules : *workflow_rules
196
202
197
203
# Secret Detection
198
204
secret_detection :
205
+ stage : lint
199
206
rules : *workflow_rules
200
207
201
208
build-package-and-qa :
209
+ stage : post-test
202
210
trigger :
203
211
project : ' gitlab-org/build/omnibus-gitlab-mirror'
204
212
branch : ' master'
@@ -230,13 +238,14 @@ build-package-and-qa:
230
238
needs : []
231
239
232
240
modules:tidy :
241
+ stage : lint
233
242
needs : ['modules:download']
234
243
script :
235
244
- go mod tidy
236
245
- git diff --exit-code go.mod go.sum
237
246
238
247
lint :
239
- stage : test
248
+ stage : lint
240
249
script :
241
250
# Write the code coverage report to gl-code-quality-report.json
242
251
# and print linting issues to stdout in the format: path/to/file:line description
@@ -252,7 +261,7 @@ lint:
252
261
- gl-code-quality-report.json
253
262
254
263
nilaway :
255
- stage : test
264
+ stage : lint
256
265
before_script :
257
266
- go install go.uber.org/nilaway/cmd/nilaway@latest
258
267
script :
You can’t perform that action at this time.
0 commit comments