fix: storage root mismatch at block 1789153 #13315
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
on: | |
pull_request: | |
# Commented paths to avoid skipping required workflow | |
# See https://github.community/t/feature-request-conditional-required-checks/16761 | |
# paths: | |
# - .github/workflows/checks.yml | |
# - .github/PULL_REQUEST/pull_request.go | |
# - .golangci.yml | |
# - "**/*.go" | |
# - go.mod | |
# - go.sum | |
name: checks | |
jobs: | |
linting: | |
runs-on: buildjet-4vcpu-ubuntu-2204 | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
all_but_latest: true | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
stable: true | |
check-latest: true | |
- name: Snake case test cases | |
run: | | |
go run ./cmd/testcases/main.go && \ | |
git diff --exit-code | |
- name: Lint | |
run: make lint | |
- name: Up to date Go proto generated | |
run: | | |
go install google.golang.org/protobuf/cmd/[email protected] && \ | |
PROTOC_VERSION=24.4 && \ | |
curl -sL --output protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip" && \ | |
sudo unzip protoc.zip -d /usr/local && \ | |
rm protoc.zip && \ | |
go generate -run "protoc" ./... && \ | |
git diff --exit-code |