Skip to content
Snippets Groups Projects
Commit 2fb3b285 authored by Malte Bauch's avatar Malte Bauch
Browse files

trying to fix code-climate output

parent 06a995b1
No related branches found
No related tags found
2 merge requests!23Resolve "CI/CD",!18Develop
Pipeline #52091 failed
This commit is part of merge request !18. Comments created here will be created in the context of that merge request.
...@@ -10,7 +10,7 @@ code-quality: ...@@ -10,7 +10,7 @@ code-quality:
- merge_requests - merge_requests
script: script:
# writes golangci-lint output to gl-code-quality-report.json # writes golangci-lint output to gl-code-quality-report.json
- golangci-lint run | tee gl-code-quality-report.json - golangci-lint run --out-format code-climate | tee gl-code-quality-report.json
artifacts: artifacts:
reports: reports:
codequality: gl-code-quality-report.json codequality: gl-code-quality-report.json
......
run: run:
timeout: 5m timeout: 5m
issues-exit-code: 1 issues-exit-code: 1
output: # output:
format: code-climate # format: code-climate
print-issued-lines: true # print-issued-lines: true
print-linter-name: true # print-linter-name: true
modules-download-mode: vendor modules-download-mode: vendor
linters-settings: linters-settings:
gocyclo: gocyclo:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment