Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 577892c

Browse files
committed
Add CI configs
1 parent 612432c commit 577892c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/go.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Go
2+
on: [push]
3+
jobs:
4+
5+
vet-test:
6+
name: Vet and test
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Set up Go 1.15
10+
uses: actions/setup-go@v1
11+
with:
12+
go-version: 1.15
13+
id: go
14+
15+
- name: Check out code into the Go module directory
16+
uses: actions/checkout@v1
17+
18+
- name: Get dependencies
19+
run: go mod verify
20+
21+
- name: Vet
22+
run: go vet $(go list ./...)
23+
24+
- name: Test
25+
run: go test -race -v $(go list ./...)

0 commit comments

Comments
 (0)