Skip to content

Commit 2437214

Browse files
authored
Update go.yml
1 parent 8bf3c4f commit 2437214

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/go.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@ on:
99
jobs:
1010

1111
build:
12-
name: Build
1312
runs-on: ubuntu-latest
1413
steps:
14+
- uses: actions/checkout@v2
1515

16-
- name: Set up Go 1.x
16+
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: ^1.13
20-
id: go
21-
22-
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v2
19+
go-version: 1.15
2420

2521
- name: Get dependencies
2622
run: |
@@ -29,6 +25,8 @@ jobs:
2925
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
3026
dep ensure
3127
fi
32-
3328
- name: Build
34-
run: go build -v .
29+
run: go build -v ./...
30+
31+
- name: Test
32+
run: go test -v ./...

0 commit comments

Comments
 (0)