Skip to content

Commit 3abe5c2

Browse files
authored
workflow file
1 parent 43ec336 commit 3abe5c2

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+
test:
5+
name: Test
6+
strategy:
7+
matrix:
8+
go_version: [1.12, 1.13]
9+
os: [ubuntu-latest, windows-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- name: Set up Go ${{ matrix.go_version }}
13+
uses: actions/setup-go@v1
14+
with:
15+
go-version: ${{ matrix.go_version }}
16+
id: go
17+
18+
- name: Check out code into the Go module directory
19+
uses: actions/checkout@v1
20+
21+
- name: Get dependencies
22+
run: go get -v -t -d ./...
23+
24+
- name: Test
25+
run: go test -v ./...

0 commit comments

Comments
 (0)