Skip to content

Commit e6e2a9f

Browse files
committed
Update Go version, fix duplicate runs.
1 parent 67c5217 commit e6e2a9f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Test
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
pull_request:
49

510
jobs:
611
build:
@@ -10,7 +15,7 @@ jobs:
1015
- name: Set up Go 1.x
1116
uses: actions/setup-go@v2
1217
with:
13-
go-version: ^1.14
18+
go-version: ^1.15
1419
id: go
1520

1621
- name: Check out code into the Go module directory

0 commit comments

Comments
 (0)