Skip to content

Commit 035b8e7

Browse files
authored
Add some CI (#7)
1 parent fe41b32 commit 035b8e7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
go:
13+
- '1.17'
14+
- '1.18'
15+
- '1.19'
16+
- '1.20'
17+
name: Go ${{ matrix.go }} test
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
22+
- name: Setup go
23+
uses: actions/setup-go@v2
24+
with:
25+
go-version: ${{ matrix.go }}
26+
- run: go test ./...

0 commit comments

Comments
 (0)