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:
zyy17
2023-02-15 15:10:17 +08:00
committed by GitHub
parent 3e6349be12
commit 36147379c3
33 changed files with 9755 additions and 8 deletions
+8
View File
@@ -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