distribution/script/setup/install-dev-tools
Wang Yan 70db3a46d9
bump up golang version
upgrade go version to v1.18.8

Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-09 10:59:43 +02:00

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}"