Skip to content

Commit 814ac30

Browse files
authored
.github: add a workflow to build and test pushes and pull requests (#63)
1 parent 4403578 commit 814ac30

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/build-test.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: build-test
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/setup-go@v1
11+
with:
12+
go-version: 1.13.x
13+
- uses: actions/checkout@v2
14+
- name: Build
15+
run: go build .
16+
- name: Test
17+
run: go test -v .

0 commit comments

Comments
 (0)