chore: pull cometbft v0.34.35 #886
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Verify that generated code is up-to-date. | |
# | |
# Note that we run these checks regardless whether the input files have | |
# changed, because generated code can change in response to toolchain updates | |
# even if no files in the repository are modified. | |
name: Check generated code | |
on: | |
pull_request: | |
branches: | |
- v0.34.x-celestia | |
permissions: | |
contents: read | |
jobs: | |
# Mocks have been disabled. See https://github.com/celestiaorg/celestia-core/pull/917 | |
# check-mocks: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/setup-go@v3 | |
# with: | |
# go-version: "1.22.2" | |
# - uses: actions/checkout@v3 | |
# - name: "Check generated mocks" | |
# run: | | |
# set -euo pipefail | |
# make mockery | |
# if ! git diff --stat --exit-code ; then | |
# echo ">> ERROR:" | |
# echo ">>" | |
# echo ">> Generated mocks require update (either Mockery or source files may have changed)." | |
# echo ">> Ensure your tools are up-to-date, re-run 'make mockery' and update this PR." | |
# echo ">>" | |
# exit 1 | |
# fi | |
check-proto: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23.1" | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 # we need a .git directory to run git diff | |
- name: "Check protobuf generated code" | |
run: | | |
set -euo pipefail | |
make proto-gen | |
if ! git diff --stat --exit-code ; then | |
echo ">> ERROR:" | |
echo ">>" | |
echo ">> Protobuf generated code requires update (either tools or .proto files may have changed)." | |
echo ">> Ensure your tools are up-to-date, re-run 'make proto-gen' and update this PR." | |
echo ">>" | |
git diff | |
exit 1 | |
fi |