Skip to content

Commit ae1d04a

Browse files
authored
chore: add test workflow (#20)
* Add test workflow * Update Go version * Update action trigger
1 parent 82c88b3 commit ae1d04a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches: [master]
4+
pull_request: {}
5+
name: Test
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Install Go
11+
uses: actions/setup-go@v2
12+
with:
13+
go-version: "1.17"
14+
15+
- name: Checkout code
16+
uses: actions/checkout@v2
17+
18+
- name: Test
19+
run: go test ./...

0 commit comments

Comments
 (0)