From 4fed02668e4a165eddf42260a68c5389842c042e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 12:35:02 +0100 Subject: [PATCH] build(deps): Bump bufbuild/buf-setup-action from 1.35.0 to 1.46.0 (#969) * build(deps): Bump bufbuild/buf-setup-action from 1.35.0 to 1.46.0 Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.35.0 to 1.46.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.35.0...v1.46.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore: remove proto-gen.sh * chore: trigger ci/cd to test protos * Revert "chore: trigger ci/cd to test protos" This reverts commit d2219d9679a5d4acce572c0c558b7e2aa64ff7c8. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lklimek <842586+lklimek@users.noreply.github.com> --- .github/workflows/proto-lint.yml | 2 +- scripts/proto-gen.sh | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100755 scripts/proto-gen.sh diff --git a/.github/workflows/proto-lint.yml b/.github/workflows/proto-lint.yml index cfa456a217..4ccd07ae6c 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 06fa07dd95..0000000000 --- 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