mirror of
https://github.com/wneessen/go-hibp.git
synced 2024-12-22 18:20:38 +01:00
Added Cirrus CI
This commit is contained in:
parent
44451d4f76
commit
5cc2477657
1 changed files with 24 additions and 0 deletions
24
.cirrus.yml
Normal file
24
.cirrus.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
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:
|
||||
fingerprint_script: cat go.sum
|
||||
folder: $GOPATH/pkg/mod
|
||||
get_script: go get github.com/wneessen/go-hibp
|
||||
build_script: go build github.com/wneessen/go-hibp
|
||||
test_script: go test github.com/wneessen/go-hibp
|
Loading…
Reference in a new issue