File tree Expand file tree Collapse file tree 1 file changed +5
-42
lines changed
Expand file tree Collapse file tree 1 file changed +5
-42
lines changed Original file line number Diff line number Diff line change 11name : Tests
22on : [push]
33jobs :
4- build-linux :
5- name : Linux Build
6- runs-on : ubuntu-latest
7- steps :
8- - name : Set up Go 1.13
9- uses : actions/setup-go@v1
10- with :
11- go-version : 1.13
12- id : go
13-
14- - name : Check out code into the Go module directory
15- uses : actions/checkout@v1
4+ build :
5+ strategy :
6+ matrix :
7+ os : [ubuntu-latest, windows-latest, macos-latest]
8+ runs-on : ${{ matrix.os }}
169
17- - name : Verify dependencies
18- run : go mod verify
19-
20- - name : Build
21- run : |
22- go test ./...
23- go build -v .
24- build-windows :
25- name : Windows Build
26- runs-on : windows-latest
27- steps :
28- - name : Set up Go 1.13
29- uses : actions/setup-go@v1
30- with :
31- go-version : 1.13
32- id : go
33-
34- - name : Check out code into the Go module directory
35- uses : actions/checkout@v1
36-
37- - name : Verify dependencies
38- run : go mod verify
39-
40- - name : Build
41- run : |
42- go test ./...
43- go build -v .
44- build-macos :
45- name : MacOS Build
46- runs-on : macos-latest
4710 steps :
4811 - name : Set up Go 1.13
4912 uses : actions/setup-go@v1
You can’t perform that action at this time.
0 commit comments