Skip to content

Commit 334b1ae

Browse files
authored
Add CI
1 parent 8dd0314 commit 334b1ae

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/go.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Go
2+
on: [push]
3+
jobs:
4+
5+
build:
6+
name: Build
7+
runs-on: ubuntu-latest
8+
steps:
9+
10+
- name: Set up Go 1.13
11+
uses: actions/setup-go@v1
12+
with:
13+
go-version: 1.13
14+
id: go
15+
16+
- name: Check out code into the Go module directory
17+
uses: actions/checkout@v1
18+
19+
- name: Verify dependencies
20+
run: go mod verify
21+
22+
- name: Build
23+
env:
24+
GOFLAGS: -mod=vendor
25+
run: |
26+
go test ./...
27+
go build -v .

0 commit comments

Comments
 (0)