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

Add GitLab CI config

parent 5845236c
No related branches found
No related tags found
No related merge requests found
Pipeline #4144 failed
---
variables:
GOCACHE: $CI_PROJECT_DIR/.gocache
GOPATH: $CI_PROJECT_DIR/.go
cache:
paths:
- .gocache
- .go
lint:
image: golangci/golangci-lint:v1.46-alpine
stage: test
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