Skip to content

Commit 7655ff2

Browse files
authored
Run test on PR (#135)
1 parent 922ffd1 commit 7655ff2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
on: push
21
name: Test
2+
on:
3+
pull_request:
4+
types: [ opened, reopened, synchronize, edited ]
35
jobs:
46
test:
5-
strategy:
6-
matrix:
7-
go-version: [ 1.14.x, 1.15.x ]
8-
os: [ ubuntu-latest, macos-latest, windows-latest ]
9-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
108
steps:
119
- name: Install Go
1210
uses: actions/setup-go@v2
1311
with:
14-
go-version: ${{ matrix.go-version }}
12+
go-version: '1.17'
1513
- name: Checkout code
1614
uses: actions/checkout@v2
1715
- name: Test

0 commit comments

Comments
 (0)