lint-scan test2
This commit is contained in:
parent
25f1964e13
commit
7fd4dd6e6b
2 changed files with 2 additions and 5 deletions
|
|
@ -144,10 +144,7 @@ spec:
|
|||
args:
|
||||
- |
|
||||
cd /shared-data/repo
|
||||
golangci-lint run ./... --issues-exit-code --out-format=json --timeout 5m > lint-results.json
|
||||
result=$?
|
||||
cat lint-results.json
|
||||
exit $result
|
||||
golangci-lint run ./... --out-format=json --timeout 5m --issues-exit-code 1
|
||||
volumeMounts:
|
||||
- name: shared-data
|
||||
mountPath: /shared-data
|
||||
|
|
|
|||
Reference in a new issue