Skip to content

Commit deba0f1

Browse files
author
Mattia Bertorello
committed
Added golangci-lint tool installation in the drone pipeline
1 parent 621a690 commit deba0f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.drone.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ pipeline:
66
build:
77
image: golang:1.10
88
environment:
9-
- DEP_RELEASE_TAG=v0.5.0
9+
- DEP_RELEASE_TAG=v0.5.0
1010
commands:
1111
- go generate
12-
# Tools install dep
12+
# Tools install dep, golangci-lint
13+
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10
1314
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
1415
# Check the dependency, the -skip-lock is useful because the version are not fixed but depends from the branch master of the libraries so they change very often
1516
- dep check

0 commit comments

Comments
 (0)