👷 Added lint step in Drone CI/CD config
This commit is contained in:
parent
879b4642bd
commit
d059d17355
|
@ -10,6 +10,15 @@ steps:
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- go test -v -cover -race ./...
|
- go test -v -cover -race ./...
|
||||||
|
- name: lint
|
||||||
|
image: golang
|
||||||
|
volumes:
|
||||||
|
- name: deps
|
||||||
|
path: /go
|
||||||
|
commands:
|
||||||
|
- wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1
|
||||||
|
- ./bin/golangci-lint run
|
||||||
|
failure: ignore
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user