mirror of
https://github.com/wneessen/go-hibp.git
synced 2024-11-23 05:10:50 +01:00
23 lines
No EOL
569 B
YAML
23 lines
No EOL
569 B
YAML
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/go-hibp
|
|
build_script: go build github.com/wneessen/go-hibp
|
|
test_script: go test github.com/wneessen/go-hibp |