mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-13 03:56:39 +00:00
11 lines
252 B
YAML
11 lines
252 B
YAML
dependencies:
|
|
post:
|
|
# install golint
|
|
- go get github.com/golang/lint/golint
|
|
|
|
test:
|
|
pre:
|
|
# run analysis before tests
|
|
- go vet ./...
|
|
- test -z "$(golint ./... | tee /dev/stderr)"
|
|
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
|