Pin protoc-gen-go-grpc to 1.4.0 (#27892)

* Pin protoc-gen-go-grpc to 1.4.0

They introduced a replace statement within the go.mod file which
causes failures running go install protoc-gen-go-grpc@latest

Workaround for now is to pin to the previous version

See https://github.com/grpc/grpc-go/issues/7448

* Add missing v to version v1.4.0 instead of 1.4.0 within tools/tools.sh
This commit is contained in:
Steven Clark
2024-07-29 10:36:43 -04:00
committed by GitHub
parent 7c13168d7d
commit 297a9831f1
2 changed files with 4 additions and 3 deletions

View File

@@ -34,7 +34,8 @@ check_tool() {
install_external() {
local tools
# If you update this please update check_external below as well as our external tools
# install action ./github/actions/install-external-tools.yml
# install action .github/actions/install-external-tools/action.yml
#
tools=(
github.com/bufbuild/buf/cmd/buf@v1.25.0
github.com/favadi/protoc-go-inject-tag@latest
@@ -43,7 +44,7 @@ install_external() {
github.com/rinchsan/gosimports/cmd/gosimports@latest
golang.org/x/tools/cmd/goimports@latest
google.golang.org/protobuf/cmd/protoc-gen-go@latest
google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0
gotest.tools/gotestsum@latest
honnef.co/go/tools/cmd/staticcheck@latest
mvdan.cc/gofumpt@latest