File tree Expand file tree Collapse file tree 2 files changed +47
-36
lines changed Expand file tree Collapse file tree 2 files changed +47
-36
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ jobs :
7
+ os-tests :
8
+ strategy :
9
+ matrix :
10
+ go-version : [1.14.x, 1.15.x]
11
+ platform : [ubuntu-latest]
12
+ runs-on : ${{ matrix.platform }}
13
+ steps :
14
+ - name : Install Go
15
+ uses : actions/setup-go@v1
16
+ with :
17
+ go-version : ${{ matrix.go-version }}
18
+ - name : Set git to use LF
19
+ run : |
20
+ git config --global core.autocrlf false
21
+ git config --global core.eol lf
22
+ - name : Checkout
23
+ uses : actions/checkout@v2
24
+ with :
25
+ fetch-depth : 1
26
+ - name : Run unit tests
27
+ run : make test
28
+
29
+ build-tests :
30
+ strategy :
31
+ matrix :
32
+ go-version : [1.14.x, 1.15.x]
33
+ platform : [ubuntu-latest]
34
+ runs-on : ${{ matrix.platform }}
35
+ steps :
36
+ - name : Install Go
37
+ uses : actions/setup-go@v1
38
+ with :
39
+ go-version : ${{ matrix.go-version }}
40
+ - name : Checkout
41
+ uses : actions/checkout@v2
42
+ with :
43
+ fetch-depth : 1
44
+ - name : Build binaries
45
+ run : make build
46
+ - name : Check with go vet
47
+ run : make vet
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments