mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 13:50:49 +01:00
Create .cirrus.yml
This commit is contained in:
parent
7da98e6389
commit
15bccc3c42
1 changed files with 23 additions and 0 deletions
23
.cirrus.yml
Normal file
23
.cirrus.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
container:
|
||||||
|
image: golang:latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
GOPROXY: https://proxy.golang.org
|
||||||
|
|
||||||
|
lint_task:
|
||||||
|
name: GolangCI Lint
|
||||||
|
container:
|
||||||
|
image: golangci/golangci-lint:latest
|
||||||
|
run_script: golangci-lint run -v --timeout 5m0s --out-format json > lint-report.json
|
||||||
|
always:
|
||||||
|
golangci_artifacts:
|
||||||
|
path: lint-report.json
|
||||||
|
type: text/json
|
||||||
|
format: golangci
|
||||||
|
|
||||||
|
build_task:
|
||||||
|
modules_cache:
|
||||||
|
folder: $GOPATH/pkg/mod
|
||||||
|
get_script: go get github.com/wneessen/apg-go/cmd/apg
|
||||||
|
build_script: go build github.com/wneessen/apg-go/cmd/apg
|
||||||
|
test_script: go test github.com/wneessen/apg-go/cmd/apg
|
Loading…
Reference in a new issue