Unverified Commit ba534c0d authored by Alessio Perugini's avatar Alessio Perugini Committed by GitHub

[skip-changelog] Bump setup-protoc to v2 (#2190)

* bump setup protoc to v2

* bump protoc-gen-go-grpc to 1.2.0

* check for compile diffs
parent cc9eb82a
......@@ -59,15 +59,15 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- name: Install protoc compiler
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v2
with:
version: v3.16.0
version: v21.12
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Go deps
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26.0
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0
- name: Install Task
uses: arduino/setup-task@v1
......@@ -77,7 +77,9 @@ jobs:
- name: Check protocol buffers compile correctly
if: runner.os == 'Linux'
run: task protoc:compile
run: |
task protoc:compile
git diff --color --exit-code
check:
needs: run-determination
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment