backport of commit 8fa3d6a05d (#23754)

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-10-20 08:45:13 -04:00
committed by GitHub
parent 2212569747
commit d88f74aa03

View File

@@ -11,8 +11,7 @@ EXTERNAL_TOOLS_CI=\
golang.org/x/tools/cmd/goimports \
github.com/golangci/revgrep/cmd/revgrep \
mvdan.cc/gofumpt \
honnef.co/go/tools/cmd/staticcheck \
github.com/bufbuild/buf/cmd/buf
honnef.co/go/tools/cmd/staticcheck
EXTERNAL_TOOLS=\
github.com/client9/misspell/cmd/misspell
GOFMT_FILES?=$$(find . -name '*.go' | grep -v pb.go | grep -v vendor)
@@ -173,6 +172,7 @@ ci-bootstrap: .ci-bootstrap
echo "Installing/Updating $$tool" ; \
GO111MODULE=off $(GO_CMD) get -u $$tool; \
done
go install github.com/bufbuild/buf/cmd/buf@v1.25.0
@touch .ci-bootstrap
# bootstrap the build by downloading additional tools that may be used by devs