Skip to content

Commit fb970ff

Browse files
committed
github-ci: update github workflow to generate protobuf files
Signed-off-by: Jagannathan Raman<[email protected]>
1 parent 3a10e56 commit fb970ff

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ jobs:
2121
with:
2222
go-version: '1.22'
2323

24+
- name: Install Protoc
25+
uses: arduino/setup-protoc@v3
26+
with:
27+
repo-token: ${{ secrets.GITHUB_TOKEN }}
28+
version: "27.2"
29+
30+
- name: Install protoc-gen-go
31+
run: go install google.golang.org/protobuf/cmd/[email protected]
32+
33+
- name: Generate all protobufs
34+
run: go generate ./...
35+
2436
- name: Build
2537
run: go build -v ./...
2638

0 commit comments

Comments
 (0)