70db3a46d9
upgrade go version to v1.18.8 Signed-off-by: Wang Yan <wangyan@vmware.com>
12 lines
279 B
Bash
Executable file
12 lines
279 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
GOLANGCI_LINT_VERSION="v1.50.1"
|
|
|
|
#
|
|
# Install developer tools to $GOBIN (or $GOPATH/bin if unset)
|
|
#
|
|
set -eu -o pipefail
|
|
|
|
cd /tmp
|
|
go install github.com/LK4D4/vndr@latest
|
|
go install "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"
|