File tree Expand file tree Collapse file tree 1 file changed +51
-3
lines changed Expand file tree Collapse file tree 1 file changed +51
-3
lines changed Original file line number Diff line number Diff line change 66jobs :
77
88 test :
9- name : run tests with code coverage
9+ name : run tests with go 1.16 and code coverage
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : Set up Go 1.13
12+ - name : Set up Go 1.16
1313 uses : actions/setup-go@v1
1414 with :
15- go-version : 1.13
15+ go-version : 1.16
1616 id : go
1717
1818 - name : Check out code into the Go module directory
2525 uses : codecov/codecov-action@v1
2626 with :
2727 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