Move metalinter installation to lint step
This commit is contained in:
parent
1b7396d487
commit
ec5fd99fc4
|
@ -27,12 +27,6 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
export PATH="$GOBIN:$PATH"
|
export PATH="$GOBIN:$PATH"
|
||||||
make get_vendor_deps
|
make get_vendor_deps
|
||||||
- run:
|
|
||||||
name: linter
|
|
||||||
command: |
|
|
||||||
export PATH="$GOBIN:$PATH"
|
|
||||||
go get -u github.com/tendermint/lint/golint
|
|
||||||
go get -u github.com/alecthomas/gometalinter
|
|
||||||
- run:
|
- run:
|
||||||
name: binaries
|
name: binaries
|
||||||
command: |
|
command: |
|
||||||
|
@ -63,6 +57,12 @@ jobs:
|
||||||
key: v1-pkg-cache
|
key: v1-pkg-cache
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
|
||||||
|
- run:
|
||||||
|
name: Get metalinter
|
||||||
|
command: |
|
||||||
|
export PATH="$GOBIN:$PATH"
|
||||||
|
go get -u github.com/tendermint/lint/golint
|
||||||
|
go get -u github.com/alecthomas/gometalinter
|
||||||
- run:
|
- run:
|
||||||
name: Lint source
|
name: Lint source
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Reference in New Issue