File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 39
39
test :
40
40
strategy :
41
41
matrix :
42
- go_version :
42
+ go-version :
43
43
- 1.19
44
44
- " 1.20"
45
45
os :
@@ -53,30 +53,44 @@ jobs:
53
53
- os : macos
54
54
goarch : 386
55
55
56
- name : test (${{ matrix.os }}/go-${{ matrix.go_version }}/${{ matrix.goarch }})
56
+ name : tests (${{ matrix.os }}/go-${{ matrix.go-version }}/${{ matrix.goarch }})
57
57
runs-on : ${{ matrix.os }}-latest
58
58
steps :
59
59
- uses : actions/setup-go@v3.5.0
60
60
id : go
61
61
with :
62
- go-version : ${{ matrix.go_version }}
62
+ go-version : ${{ matrix.go-version }}
63
63
64
64
- uses : actions/checkout@v3.3.0
65
65
66
66
- run : go mod download
67
67
68
68
- run : make staticcheck
69
- if : matrix.go_version == '1.20'
69
+ if : matrix.go-version == '1.20'
70
70
71
71
- run : make gotest
72
72
env :
73
73
GOARCH : ${{ matrix.goarch }}
74
74
GOPROXY : off
75
75
76
+ integration-tests :
77
+ strategy :
78
+ matrix :
79
+ os :
80
+ - ubuntu
81
+ - windows
82
+
83
+ name : integration tests (${{ matrix.os }})
84
+ runs-on : ${{ matrix.os }}-latest
85
+ steps :
86
+ - uses : actions/setup-go@v3.5.0
87
+ id : go
88
+ with :
89
+ go-version : " 1.20"
90
+
91
+ - uses : actions/checkout@v3.3.0
92
+
76
93
- run : make integration
77
- if : matrix.os != 'macos' && matrix.goarch == 'amd64'
78
- env :
79
- GOFLAGS : -mod=readonly
80
94
81
95
lint :
82
96
name : lint
You can’t perform that action at this time.
0 commit comments