File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = crlf
Original file line number Diff line number Diff line change 77 branches : ' master'
88
99jobs :
10-
1110 build :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ go-version : [1.16.x]
15+ os : [ubuntu-latest, macos-latest, windows-latest]
1216 name : Build and test
13- runs-on : ubuntu-latest
17+ runs-on : ${{ matrix.os }}
1418 steps :
1519
1620 - name : Set up Go 1.x
1721 uses : actions/setup-go@v2
1822 with :
19- go-version : ^1.13
23+ go-version : ${{ matrix.go-version }}
2024 id : go
2125
2226 - name : Check out code into the Go module directory
2327 uses : actions/checkout@v2
2428
2529 - name : Get dependencies
2630 run : |
27- go get -v -t -d ./...
28- if [ -f Gopkg.toml ]; then
29- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30- dep ensure
31- fi
31+ go mod download
3232
3333 - name : Build
3434 run : |
You can’t perform that action at this time.
0 commit comments