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 4
4
build :
5
5
strategy :
6
6
matrix :
7
- go-version : [~1.11 , ^1]
7
+ go-version : [~1.13 , ^1]
8
8
os : [ubuntu-latest, macos-latest, windows-latest]
9
9
runs-on : ${{ matrix.os }}
10
10
env :
11
11
GO111MODULE : " on"
12
12
steps :
13
+ - name : Install Go
14
+ uses : actions/setup-go@v2
15
+ with :
16
+ go-version : ${{ matrix.go-version }}
13
17
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
18
20
19
- - name : Checkout code
20
- uses : actions/checkout@v2
21
+ - name : Download Go modules
22
+ run : go mod download
21
23
22
- - name : Download Go modules
23
- run : go mod download
24
+ - name : Build
25
+ run : go build -v ./...
24
26
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