feat(network/messages): normalize from_block
field to be uint
or common.Hash
#7533
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
name: Mocks check | |
on: | |
pull_request: | |
branches: | |
- development | |
# Commented paths to avoid skipping required workflow | |
# See https://github.community/t/feature-request-conditional-required-checks/16761 | |
# paths: | |
# - .github/workflows/mocks.yml | |
# - "**/*.go" | |
jobs: | |
mocks-check: | |
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 | |
- run: go install go.uber.org/mock/[email protected] | |
- name: Check devnet module | |
run: | | |
cd devnet && \ | |
go mod download && \ | |
go generate -run "mockgen" -tags integration ./... && \ | |
git diff --exit-code && \ | |
cd .. | |
- name: Check Gossamer module | |
run: | | |
go mod download && \ | |
go generate -run "mockgen" -tags integration ./... && \ | |
git diff --exit-code |