We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aee87e8 commit 619d5c4Copy full SHA for 619d5c4
.github/test.yml
@@ -0,0 +1,26 @@
1
+on:
2
+ push:
3
+ pull_request:
4
+ types: [synchronize]
5
+ schedule:
6
+ - cron: "0 0 1,11,21 * *"
7
+name: Test
8
+jobs:
9
+ test:
10
+ strategy:
11
+ matrix:
12
+ go-version: [1.13.x, 1.14.x, 1.15.x, tip]
13
+ go-flags: ["", "-trimpath"]
14
+ os: [ubuntu-latest, macos-latest, windows-latest]
15
+ runs-on: ${{ matrix.os }}
16
+ steps:
17
+ - name: Install Go
18
+ uses: actions/setup-go@v2
19
+ with:
20
+ go-version: ${{ matrix.go-version }}
21
+ - name: Checkout code
22
+ uses: actions/checkout@v2
23
+ - name: Test
24
+ env:
25
+ GOFLAGS: ${{ matrix.go-flags }}
26
+ run: go test ./...
0 commit comments