Update go-toolset, and UBI

This commit is contained in:
Alex Mirski-Fitton
2021-11-11 11:27:02 +00:00
parent e11aa50747
commit 7d8ce547da
2 changed files with 7 additions and 3 deletions

View File

@@ -22,5 +22,8 @@ set -ex
sudo curl -Lo /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.5.1/dep-linux-$ARCH
sudo chmod +x /usr/local/bin/dep
go get -u golang.org/x/lint/golint
(
cd "$(mktemp -d)"
go get -u golang.org/x/lint/golint
)
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin 2.0.0 || echo "Gosec not installed. Platform may not be supported."