fix bootstrap and lint script

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Florian Wagner
2022-04-25 04:25:59 +00:00
committed by GitHub
parent e60fba28c0
commit a824e38f4f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ fi
if [ ! -f "${GOBIN}/golangci-lint" ]; then
echo "golangci was not found, installing..."
go get github.com/golangci/golangci-lint/cmd/golangci-lint@master
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
fi
if [ ! -f "${GOBIN}/goimports" ]; then
+1 -1
View File
@@ -7,4 +7,4 @@ test -z "${DEBUG:-}" || {
set -x
}
_tools/bin/golangci-lint run --config .golangci.yaml
golangci-lint run --config .golangci.yaml