Run golint during drone builds
This commit is contained in:
@@ -7,8 +7,10 @@ steps:
|
||||
- name: test
|
||||
image: golang:1.13
|
||||
commands:
|
||||
- go vet ./...
|
||||
- go test ./...
|
||||
- go test ./cmd/... ./internal/...
|
||||
- go vet ./cmd/... ./internal/...
|
||||
- go get -u golang.org/x/lint/golint
|
||||
- golint ./cmd/... ./internal/...
|
||||
- name: build
|
||||
image: golang:1.13
|
||||
commands:
|
||||
|
||||
Reference in New Issue
Block a user