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:
Ivan Kozlovic
2021-11-16 08:58:16 -07:00
parent f805f23d6e
commit aaf6d82c10

View File

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