Skip to content

Update go codes

Update go codes #603

Workflow file for this run

name: "Unit Test"
on: [ push,pull_request ]
jobs:
go:
name: Test go and binlog generation
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: "1.16"
- 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 binlog && 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