Skip to content

feat(network/messages): normalize from_block field to be uint or common.Hash #7534

feat(network/messages): normalize from_block field to be uint or common.Hash

feat(network/messages): normalize from_block field to be uint or common.Hash #7534

Workflow file for this run

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