travis: install golangci-lint from source
golangci-lint now has a recommended source install.
MODIFY
.travis/script.d/deps.sh
.travis/script.d/deps.sh
@@ -9,8 +9,8 @@ pushd $WORK
# Required for format check.
go get golang.org/x/tools/cmd/goimports
-# Required for linting check: apparently golangci-lint should not be installed using go get (https://github.com/golangci/golangci-lint#go).
-curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.8
+# Required for linting check.
+go get github.com/golangci/golangci-lint/cmd/golangci-lint
# Required for imports check.
go get gonum.org/v1/tools/cmd/check-imports
# Required for copyright header check.

travis: install golangci-lint from source

golangci-lint now has a recommended source install.