Align protobuf package version and proto options with kvproto #638
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Unit Test" | |
on: [ push,pull_request ] | |
jobs: | |
go: | |
name: Test go generation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.20" | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.5.1' | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Test | |
run: make go && git diff --exit-code | |
cpp: | |
name: Test cpp generation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.5.1' | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Test | |
run: make c++ && git diff --exit-code | |
rust: | |
name: Test rust generation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.5.1' | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Test | |
run: make rust |