mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Add megacheck to gometalinter CircleCI target
See, https://github.com/dominikh/go-tools/tree/master/cmd/megacheck
This commit is contained in:
parent
e351e6e211
commit
a2275e8a1c
@ -85,12 +85,13 @@ jobs:
|
|||||||
- run: 'go get -u github.com/tsenart/deadcode'
|
- run: 'go get -u github.com/tsenart/deadcode'
|
||||||
- run: 'go get -u github.com/jgautheron/goconst/cmd/goconst'
|
- run: 'go get -u github.com/jgautheron/goconst/cmd/goconst'
|
||||||
- run: 'go get -u github.com/gordonklaus/ineffassign'
|
- run: 'go get -u github.com/gordonklaus/ineffassign'
|
||||||
|
- run: 'go get -u honnef.co/go/tools/cmd/megacheck'
|
||||||
- run: 'go get -u github.com/opennota/check/cmd/structcheck'
|
- run: 'go get -u github.com/opennota/check/cmd/structcheck'
|
||||||
- run: 'go get -u github.com/mdempsky/unconvert'
|
- run: 'go get -u github.com/mdempsky/unconvert'
|
||||||
- run: 'go get -u github.com/opennota/check/cmd/varcheck'
|
- run: 'go get -u github.com/opennota/check/cmd/varcheck'
|
||||||
- run:
|
- run:
|
||||||
name: run linters
|
name: run linters
|
||||||
command: 'gometalinter --enable-gc --vendor --deadline 10m --disable-all --enable=deadcode --enable=goconst --enable=ineffassign --enable=structcheck --enable=unconvert --enable=varcheck ./...'
|
command: 'gometalinter --enable-gc --vendor --deadline 10m --disable-all --enable=deadcode --enable=goconst --enable=ineffassign --enable=megacheck --enable=structcheck --enable=unconvert --enable=varcheck ./...'
|
||||||
- run:
|
- run:
|
||||||
name: run go vet
|
name: run go vet
|
||||||
command: 'go vet ./pkg/...'
|
command: 'go vet ./pkg/...'
|
||||||
|
Loading…
Reference in New Issue
Block a user