mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +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/)
|
||||
|
||||
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)
|
||||
- make rbdplugin
|
||||
- make cephfsplugin
|
||||
|
Loading…
Reference in New Issue
Block a user