File tree 1 file changed +51
-3
lines changed
1 file changed +51
-3
lines changed Original file line number Diff line number Diff line change 6
6
jobs :
7
7
8
8
test :
9
- name : run tests with code coverage
9
+ name : run tests with go 1.16 and code coverage
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - name : Set up Go 1.13
12
+ - name : Set up Go 1.16
13
13
uses : actions/setup-go@v1
14
14
with :
15
- go-version : 1.13
15
+ go-version : 1.16
16
16
id : go
17
17
18
18
- name : Check out code into the Go module directory
25
25
uses : codecov/codecov-action@v1
26
26
with :
27
27
file : ./coverage.txt
28
+
29
+ test-v115 :
30
+ name : run tests with go 1.15
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - name : Set up Go 1.15
34
+ uses : actions/setup-go@v1
35
+ with :
36
+ go-version : 1.15
37
+ id : go
38
+
39
+ - name : Check out code into the Go module directory
40
+ uses : actions/checkout@v1
41
+
42
+ - name : go test
43
+ run : go test -race -coverprofile=coverage.txt -covermode=atomic ./...
44
+
45
+ test-v114 :
46
+ name : run tests with go 1.14
47
+ runs-on : ubuntu-latest
48
+ steps :
49
+ - name : Set up Go 1.14
50
+ uses : actions/setup-go@v1
51
+ with :
52
+ go-version : 1.14
53
+ id : go
54
+
55
+ - name : Check out code into the Go module directory
56
+ uses : actions/checkout@v1
57
+
58
+ - name : go test
59
+ run : go test -race -coverprofile=coverage.txt -covermode=atomic ./...
60
+
61
+ test-v113 :
62
+ name : run tests with go 1.13
63
+ runs-on : ubuntu-latest
64
+ steps :
65
+ - name : Set up Go 1.13
66
+ uses : actions/setup-go@v1
67
+ with :
68
+ go-version : 1.13
69
+ id : go
70
+
71
+ - name : Check out code into the Go module directory
72
+ uses : actions/checkout@v1
73
+
74
+ - name : go test
75
+ run : go test -race -coverprofile=coverage.txt -covermode=atomic ./...
You can’t perform that action at this time.
0 commit comments