1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-02 03:03:26 +00:00

Gosimple has been deprecated. Please use staticcheck instead.

This commit is contained in:
JessonChan 2019-01-22 18:01:14 +08:00
parent 3ed82c0882
commit e65a9cbc00

View File

@ -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