mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 08:40: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/*
|
||||
script:
|
||||
- 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/)
|
||||
- ineffassign .
|
||||
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
|
||||
|
Loading…
Reference in New Issue
Block a user