Revision e914fe40ec60f1ed0f7d377f05284affb6f02b76 authored by mergify[bot] on 29 October 2022, 12:58:18 UTC, committed by GitHub on 29 October 2022, 12:58:18 UTC
* ci: Fix linter complaint (#9645) Fixes a very silly linter complaint that makes absolutely no sense and is blocking the merging of several PRs. --- #### PR checklist - [x] Tests written/updated, or no tests needed - [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed - [x] Updated relevant documentation (`docs/`) and code comments, or no documentation updates needed (cherry picked from commit 83b7f4ad5bc77a56fdb51ec39ae13c1204dde6e0) # Conflicts: # .github/workflows/lint.yml # .golangci.yml # cmd/tendermint/commands/debug/util.go * Resolve conflicts Signed-off-by: Thane Thomson <connect@thanethomson.com> * ci: Sync golangci-lint config with main Minus the spelling configuration that restricts spelling to US English only. Signed-off-by: Thane Thomson <connect@thanethomson.com> * make format Signed-off-by: Thane Thomson <connect@thanethomson.com> * Remove usage of deprecated io/ioutil package Signed-off-by: Thane Thomson <connect@thanethomson.com> * Remove unused mockBlockStore Signed-off-by: Thane Thomson <connect@thanethomson.com> * blockchain/v2: Remove unused method Signed-off-by: Thane Thomson <connect@thanethomson.com> * Bulk fix lints Signed-off-by: Thane Thomson <connect@thanethomson.com> * lint: Ignore auto-generated query PEG Signed-off-by: Thane Thomson <connect@thanethomson.com> Signed-off-by: Thane Thomson <connect@thanethomson.com> Co-authored-by: Thane Thomson <connect@thanethomson.com>
1 parent a6dd0d2
proto-gen.sh
#!/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
Computing file changes ...