Add vendors for linting job
This commit is contained in:
parent
ad238dacbe
commit
5ddcff2dc8
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ jobs:
|
||||||
- image: circleci/golang:1.9
|
- image: circleci/golang:1.9
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run: curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o /go/bin/dep && chmod +x /go/bin/dep
|
||||||
|
- run: dep ensure -vendor-only
|
||||||
- run: curl -L -s https://github.com/alecthomas/gometalinter/releases/download/v2.0.5/gometalinter-2.0.5-linux-amd64.tar.gz | tar xvfz - -C /go/bin/ --strip 1
|
- run: curl -L -s https://github.com/alecthomas/gometalinter/releases/download/v2.0.5/gometalinter-2.0.5-linux-amd64.tar.gz | tar xvfz - -C /go/bin/ --strip 1
|
||||||
- run: gometalinter ./...
|
- run: gometalinter ./...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue