Skip to content

Commit b46aa15

Browse files
authored
ci: Github Actions setup
1 parent 49374a1 commit b46aa15

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and Test
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
name: Test
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set up Golang
14+
uses: actions/setup-go@v1
15+
with:
16+
go-version: 1.12
17+
18+
- name: Check out code
19+
uses: actions/checkout@v1
20+
21+
- name: Run unit tests
22+
run: make test

0 commit comments

Comments
 (0)