Skip to content

Commit

Permalink
Update unit-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin2037 authored Sep 11, 2024
1 parent 9327d48 commit 3b7c736
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ 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
Expand Down Expand Up @@ -30,4 +46,4 @@ jobs:
with:
toolchain: stable
- name: Test
run: make rust
run: make rust

0 comments on commit 3b7c736

Please sign in to comment.