1
0
Fork 0

👷 Added lint step in Drone CI/CD config

This commit is contained in:
Maxim Lebedev 2021-08-05 15:51:44 +05:00
parent 879b4642bd
commit d059d17355
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,15 @@ steps:
path: /go
commands:
- 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:
- name: deps
temp: {}