From 6781fa2846e803c4941d31f200b14b8900404c76 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Wed, 9 Oct 2024 11:31:52 -0600 Subject: [PATCH] protobuf: pin protoc-gen-go to 1.34.2 (1.18) (#28620) Signed-off-by: Ryan Cragun --- .github/actions/install-external-tools/action.yml | 2 +- tools/tools.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-external-tools/action.yml b/.github/actions/install-external-tools/action.yml index 2fc6da4b1aa1..1f649ca74208 100644 --- a/.github/actions/install-external-tools/action.yml +++ b/.github/actions/install-external-tools/action.yml @@ -22,7 +22,7 @@ runs: - uses: ./.github/actions/set-up-staticcheck # We assume that the Go toolchain will be managed by the caller workflow so we don't set one # up here. - - run: ./.github/scripts/retry-command.sh go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + - run: ./.github/scripts/retry-command.sh go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 shell: bash - run: ./.github/scripts/retry-command.sh go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0 shell: bash diff --git a/tools/tools.sh b/tools/tools.sh index e766eccad74e..f5512a38bd6f 100755 --- a/tools/tools.sh +++ b/tools/tools.sh @@ -45,7 +45,7 @@ install_external() { github.com/loggerhead/enumer@latest 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/protobuf/cmd/protoc-gen-go@v1.34.2 google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0 gotest.tools/gotestsum@latest mvdan.cc/gofumpt@latest