mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Remove version for misspell and staticcheck tools
Since with Go 1.17, we also get following notice: ``` go get: installing executables with 'go get' in module mode is deprecated. ... ``` Switching to `go install` and add `@latest` for the version. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
@@ -17,8 +17,8 @@ env:
|
||||
- GO111MODULE=off
|
||||
go_import_path: github.com/nats-io/nats-server
|
||||
install:
|
||||
- GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@2021.1.2
|
||||
- GO111MODULE=on go get github.com/client9/misspell/cmd/misspell@v0.3.4
|
||||
- GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
- GO111MODULE=on go install github.com/client9/misspell/cmd/misspell@latest
|
||||
before_script:
|
||||
- GO_LIST=$(go list ./...)
|
||||
- go build
|
||||
|
||||
Reference in New Issue
Block a user