Skip to content
Snippets Groups Projects
Commit 7b7fde3e authored by Thomas Schneider's avatar Thomas Schneider Committed by Thomas Schneider
Browse files

ci: Add golangci-lint job

parent 396657a2
No related branches found
No related tags found
No related merge requests found
Pipeline #3239 canceled
...@@ -29,3 +29,17 @@ build: ...@@ -29,3 +29,17 @@ build:
GOARCH: GOARCH:
- amd64 - amd64
- arm - arm
lint:
image: golangci/golangci-lint:v1.39-alpine
stage: test
allow_failure: true
needs: []
script:
- golangci-lint run -v --max-issues-per-linter=0 --max-same-issues=0 --out-format=junit-xml --timeout=10m > golangci-output.xml
artifacts:
paths:
- golangci-output.xml
reports:
junit: golangci-output.xml
expire_in: 7 days
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment