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 7
7
branches : ' master'
8
8
9
9
jobs :
10
-
11
10
build :
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ go-version : [1.16.x]
15
+ os : [ubuntu-latest, macos-latest, windows-latest]
12
16
name : Build and test
13
- runs-on : ubuntu-latest
17
+ runs-on : ${{ matrix.os }}
14
18
steps :
15
19
16
20
- name : Set up Go 1.x
17
21
uses : actions/setup-go@v2
18
22
with :
19
- go-version : ^1.13
23
+ go-version : ${{ matrix.go-version }}
20
24
id : go
21
25
22
26
- name : Check out code into the Go module directory
23
27
uses : actions/checkout@v2
24
28
25
29
- name : Get dependencies
26
30
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
32
32
33
33
- name : Build
34
34
run : |
You can’t perform that action at this time.
0 commit comments