mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
967c6857e8
* build & publish rocksdb docker images merge to master * publish docker images on push of release version tags NOTE: New docker image tag pattern. ALL tags now include database suffix ex. <githash>-goleveldb, v0.25.0-alpha.1-rocksdb, master-rocksdb, etc * update dockerfiles for better caching * update all github action workflow versions * improve caching of go packages * cache docker image layers for reuse between runs * update dockerignore to remove non-essential files
27 lines
755 B
YAML
27 lines
755 B
YAML
name: Protobuf Checks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
check-proto:
|
|
name: "Check Proto"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version-file: go.mod
|
|
- run: go mod download
|
|
- run: make install-build-deps
|
|
- run: make check-proto-deps
|
|
- run: make check-proto-lint
|
|
- run: make check-proto-format
|
|
- 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
|