File tree 1 file changed +43
-2
lines changed
1 file changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,48 @@ name: Test
8
8
jobs :
9
9
test :
10
10
strategy :
11
+ fail-fast : false
11
12
matrix :
12
- go-version : [1.13.x, 1.14.x, 1.15.x, tip]
13
- go-flags : ["", "-trimpath"]
13
+ go-version :
14
+ - 1.7.x
15
+ - 1.8.x
16
+ - 1.9.x
17
+ - 1.10.x
18
+ - 1.11.x
19
+ - 1.12.x
20
+ - 1.13.x
21
+ - 1.14.x
22
+ - 1.15.x
23
+ go-flags : [""]
14
24
os : [ubuntu-latest, macos-latest, windows-latest]
25
+ include :
26
+ - go-version : 1.13.x
27
+ os : ubuntu-latest
28
+ go-flags : " -trimpath"
29
+ - go-version : 1.13.x
30
+ os : macos-latest
31
+ go-flags : " -trimpath"
32
+ - go-version : 1.13.x
33
+ os : windows-latest
34
+ go-flags : " -trimpath"
35
+ - go-version : 1.14.x
36
+ os : ubuntu-latest
37
+ go-flags : " -trimpath"
38
+ - go-version : 1.14.x
39
+ os : macos-latest
40
+ go-flags : " -trimpath"
41
+ - go-version : 1.14.x
42
+ os : windows-latest
43
+ go-flags : " -trimpath"
44
+ - go-version : 1.15.x
45
+ os : ubuntu-latest
46
+ go-flags : " -trimpath"
47
+ - go-version : 1.15.x
48
+ os : macos-latest
49
+ go-flags : " -trimpath"
50
+ - go-version : 1.15.x
51
+ os : windows-latest
52
+ go-flags : " -trimpath"
15
53
runs-on : ${{ matrix.os }}
16
54
steps :
17
55
- name : Install Go
20
58
go-version : ${{ matrix.go-version }}
21
59
- name : Checkout code
22
60
uses : actions/checkout@v2
61
+ with :
62
+ path : " ${{github.workspace}}/src/github.com/${{github.repository}}"
23
63
- name : Test
24
64
env :
65
+ GOPATH : " ${{github.workspace}}"
25
66
GOFLAGS : ${{ matrix.go-flags }}
26
67
run : go test ./...
You can’t perform that action at this time.
0 commit comments