lint-scan test2

This commit is contained in:
franz.germann1 2024-10-25 11:23:20 +02:00
parent 25f1964e13
commit 7fd4dd6e6b
2 changed files with 2 additions and 5 deletions

View file

@ -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