Skip to content

Commit

Permalink
Added golangci-lint tool installation in the drone pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattia Bertorello committed Aug 28, 2018
1 parent 621a690 commit deba0f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ pipeline:
build:
image: golang:1.10
environment:
- DEP_RELEASE_TAG=v0.5.0
- DEP_RELEASE_TAG=v0.5.0
commands:
- go generate
# Tools install dep
# Tools install dep, golangci-lint
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
# 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
- dep check
Expand Down

0 comments on commit deba0f1

Please sign in to comment.