Bump v2.9 CI and nightlies to Go 1.20

Signed-off-by: Waldemar Quevedo <wally@nats.io>
This commit is contained in:
Sylvain Rabot
2023-07-10 21:56:53 +02:00
committed by Waldemar Quevedo
parent 8b35c01637
commit a6f7f5476e
8 changed files with 14 additions and 23 deletions

View File

@@ -7,11 +7,7 @@ if [ "$1" = "compile" ]; then
go build;
# Now run the linters.
# TODO: Pinning a specific commit here as there is a bugfix merged that
# fixes gofmt on macOS Ventura, we can undo this and go back to the binary
# install script once there's a new tagged release that contains the fix.
# curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
go install github.com/golangci/golangci-lint/cmd/golangci-lint@6f7f8ae;
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3;
golangci-lint run;
if [ "$TRAVIS_TAG" != "" ]; then
go test -race -v -run=TestVersionMatchesTag ./server -count=1 -vet=off