Skip to content

Commit c686ba4

Browse files
committed
test: add github action build test
1 parent b09ca9e commit c686ba4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Ubuntu Build Test
2+
3+
on:
4+
pull_request: {}
5+
push: {}
6+
7+
jobs:
8+
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Set up Go 1.x
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: ^1.16
18+
id: go
19+
20+
- name: Check out code into the Go module directory
21+
uses: actions/checkout@v2
22+
23+
- name: Build Test
24+
run: |
25+
make -C lib/go protoc
26+
make -C lib/go protoc-gen-go
27+
make build_go

0 commit comments

Comments
 (0)