feat(lib/grandpa): Add warp sync provider #7586
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.saobby.my.eu.orgmunity/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/cancel-workflow-action@0.12.1 | |
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/mockgen@v0.4.0 | |
- 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 |