mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 04:10:22 +00:00
megacheck is not present in gometalinter v3.0.0
added staticheck option for gometalinter Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
parent
832e0bb591
commit
6263b9cdb5
@ -16,7 +16,7 @@ before_script:
|
|||||||
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
|
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- gometalinter --deadline=10m -j 4 --enable=megacheck --enable=misspell --vendor ./...
|
- gometalinter --deadline=10m -j 4 --enable=misspell --enable=staticcheck --vendor ./...
|
||||||
- test -z $(gofmt -s -l $GO_FILES)
|
- test -z $(gofmt -s -l $GO_FILES)
|
||||||
- make rbdplugin
|
- make rbdplugin
|
||||||
- make cephfsplugin
|
- make cephfsplugin
|
||||||
|
Loading…
Reference in New Issue
Block a user