File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 44 build :
55 strategy :
66 matrix :
7- go-version : [~1.11 , ^1]
7+ go-version : [~1.13 , ^1]
88 os : [ubuntu-latest, macos-latest, windows-latest]
99 runs-on : ${{ matrix.os }}
1010 env :
1111 GO111MODULE : " on"
1212 steps :
13+ - name : Install Go
14+ uses : actions/setup-go@v2
15+ with :
16+ go-version : ${{ matrix.go-version }}
1317
14- - name : Install Go
15- uses : actions/setup-go@v2
16- with :
17- go-version : ${{ matrix.go-version }}
18+ - name : Checkout code
19+ uses : actions/checkout@v2
1820
19- - name : Checkout code
20- uses : actions/checkout@v2
21+ - name : Download Go modules
22+ run : go mod download
2123
22- - name : Download Go modules
23- run : go mod download
24+ - name : Build
25+ run : go build -v ./...
2426
25- - name : Build
26- run : go build -v ./...
27-
28- - name : Test
29- run : go test ./...
30- if : matrix.platform != 'windows-latest'
27+ - name : Test
28+ run : go test ./...
29+ if : matrix.platform != 'windows-latest'
You can’t perform that action at this time.
0 commit comments