feat: add go protobuf generation (#6)
* feat: add go protobuf generation * ci: check go protbuf generation * refactor: use 'namely/protoc-all:1.51_1' to compile the proto instead of locally binary * refactor: no need to add the 'bin/' igore * chore: modify code format * refactor: add some comments to describe our modification
This commit is contained in:
@@ -26,6 +26,10 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.18.4"
|
||||
- uses: arduino/setup-protoc@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -36,6 +40,10 @@ jobs:
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run cargo check
|
||||
run: cargo check --workspace --all-targets
|
||||
- name: Check Go protbuf generation
|
||||
run: |
|
||||
make go
|
||||
git diff --exit-code
|
||||
|
||||
fmt:
|
||||
name: Rustfmt
|
||||
|
||||
Reference in New Issue
Block a user