Skip to content

Commit 0d44381

Browse files
committed
Add GitHub action
1 parent 495a22e commit 0d44381

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/go.yaml

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

0 commit comments

Comments
 (0)