mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
d4cbc759f8
* rename contract NativeCoin -> CosmosCoin * rename all entities NativeCoin -> CosmosCoin * update changelog * update protonet genesis.json
28 lines
850 B
YAML
28 lines
850 B
YAML
name: Protobuf Checks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
check-proto:
|
|
name: "Check Proto"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version-file: go.mod
|
|
cache: true
|
|
- run: go mod download
|
|
- run: make install-build-deps
|
|
- run: make check-proto-deps
|
|
- run: make check-proto-lint
|
|
- run: make check-proto-format
|
|
# TODO: reenable me after merge of Native -> Cosmos name change committed to master.
|
|
# - run: make check-proto-breaking-remote
|
|
# - run: BUF_CHECK_BREAKING_AGAINST_REMOTE="branch=$GITHUB_BASE_REF" make check-proto-breaking-remote
|
|
# if: github.event_name == 'pull_request'
|
|
- run: make check-proto-gen
|
|
- run: make check-proto-gen-doc
|
|
- run: make check-proto-gen-swagger
|