diff --git a/.github/workflows/proto-lint.yml b/.github/workflows/proto-lint.yml index cfa456a21..4ccd07ae6 100644 --- a/.github/workflows/proto-lint.yml +++ b/.github/workflows/proto-lint.yml @@ -14,7 +14,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: bufbuild/buf-setup-action@v1.35.0 + - uses: bufbuild/buf-setup-action@v1.46.0 - uses: bufbuild/buf-lint-action@v1 with: input: "proto" diff --git a/scripts/proto-gen.sh b/scripts/proto-gen.sh deleted file mode 100755 index 06fa07dd9..000000000 --- a/scripts/proto-gen.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# Update the generated code for protocol buffers in the Tendermint repository. -# This must be run from inside a Tendermint working directory. -# -set -euo pipefail - -# Work from the root of the repository. -cd "$(git rev-parse --show-toplevel)" - -# Run inside Docker to install the correct versions of the required tools -# without polluting the local system. -docker run --rm -i -v "$PWD":/w --workdir=/w golang:1.18-alpine sh <<"EOF" -apk add git make - -go install github.com/bufbuild/buf/cmd/buf -go install github.com/gogo/protobuf/protoc-gen-gogofaster@latest -make proto-gen -EOF