mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	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:
		| @@ -23,7 +23,7 @@ runs: | |||||||
|       # up here. |       # 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@latest | ||||||
|       shell: bash |       shell: bash | ||||||
|     - run: ./.github/scripts/retry-command.sh go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest |     - run: ./.github/scripts/retry-command.sh go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0 | ||||||
|       shell: bash |       shell: bash | ||||||
|     - run: ./.github/scripts/retry-command.sh go install github.com/favadi/protoc-go-inject-tag@latest |     - run: ./.github/scripts/retry-command.sh go install github.com/favadi/protoc-go-inject-tag@latest | ||||||
|       shell: bash |       shell: bash | ||||||
|   | |||||||
| @@ -34,7 +34,8 @@ check_tool() { | |||||||
| install_external() { | install_external() { | ||||||
|   local tools |   local tools | ||||||
|   # If you update this please update check_external below as well as our external 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=( |   tools=( | ||||||
|     github.com/bufbuild/buf/cmd/buf@v1.25.0 |     github.com/bufbuild/buf/cmd/buf@v1.25.0 | ||||||
|     github.com/favadi/protoc-go-inject-tag@latest |     github.com/favadi/protoc-go-inject-tag@latest | ||||||
| @@ -43,7 +44,7 @@ install_external() { | |||||||
|     github.com/rinchsan/gosimports/cmd/gosimports@latest |     github.com/rinchsan/gosimports/cmd/gosimports@latest | ||||||
|     golang.org/x/tools/cmd/goimports@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@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 |     gotest.tools/gotestsum@latest | ||||||
|     honnef.co/go/tools/cmd/staticcheck@latest |     honnef.co/go/tools/cmd/staticcheck@latest | ||||||
|     mvdan.cc/gofumpt@latest |     mvdan.cc/gofumpt@latest | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Steven Clark
					Steven Clark