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

Add GitLab CI config

parent 6be90718
No related branches found
No related tags found
No related merge requests found
Pipeline #4141 passed
---
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