mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 14:10:54 +00:00
Gosimple has been deprecated. Please use staticcheck instead.
This commit is contained in:
parent
3ed82c0882
commit
e65a9cbc00
@ -55,7 +55,7 @@ after_script:
|
|||||||
- rm -rf ./res/var/*
|
- rm -rf ./res/var/*
|
||||||
script:
|
script:
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
- staticcheck -show-ignore "$(cat .gosimpleignore)" $(go list ./... | grep -v /vendor/)
|
- staticcheck -show-ignored "$(cat .gosimpleignore)" $(go list ./... | grep -v /vendor/)
|
||||||
- unconvert $(go list ./... | grep -v /vendor/)
|
- unconvert $(go list ./... | grep -v /vendor/)
|
||||||
- ineffassign .
|
- ineffassign .
|
||||||
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
|
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
|
||||||
|
Loading…
Reference in New Issue
Block a user