704b0ed5dc
Update golangci-lint version to address gate errors. Change-Id: Id30d0f59f7eacf83cd7d16d917a8836b8e01bb00
12 lines
324 B
Bash
Executable File
12 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
tools_bin_dir="${BASH_SOURCE%/*}"
|
|
download_url=https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh
|
|
version=v1.27.0
|
|
|
|
if ! curl -sfL "$download_url" | sh -s -- -b "$tools_bin_dir/bin" "$version"; then
|
|
printf "Something went wrong while installing golangci-lint\n" 1>&2
|
|
exit 1
|
|
fi
|