fix: Use bytes instead of string comparison in delete validator queue (backport cosmos/cosmos-sdk#12303) #228
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. | |
name: Check generated code | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- '*' | |
permissions: | |
contents: read | |
jobs: | |
check-error-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20' | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Check generated error docs | |
run: | | |
make error-doc-gen | |
if ! git diff --stat --exit-code ; then | |
echo ">> ERROR:" | |
echo ">>" | |
echo ">> Error documents require update (source files in x folder may have changed)." | |
echo ">> Ensure your tools are up-to-date, re-run 'make error-doc' and update this PR." | |
echo ">>" | |
exit 1 | |
fi |