Skip to content

Commit 2a2b301

Browse files
authored
feat(ci): enable github actions
1 parent b1e6719 commit 2a2b301

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/go.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Go
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: [ubuntu-latest, macos-latest, windows-latest]
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: 1.16.x
18+
19+
- name: Build
20+
run: go build -v ./...
21+
22+
- name: Test
23+
run: go test -v ./...

0 commit comments

Comments
 (0)