File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,16 @@ permissions:
28
28
statuses : none
29
29
30
30
jobs :
31
+ lint :
32
+ name : lint/golangci
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - uses : actions/checkout@v2
36
+ - name : golangci-lint
37
+ uses : golangci/golangci-lint-action@v2
38
+ with :
39
+ version : latest
40
+
31
41
style :
32
42
name : " style/${{ matrix.style }}"
33
43
runs-on : ubuntu-latest
81
91
with :
82
92
go-version : " ^1.17"
83
93
84
- # Check that go is available
85
- # TODO: Implement actual test run
86
- - run : go version
94
+ - run : go install gotest.tools/gotestsum@latest
95
+
96
+ - run : |
97
+ gotestsum \
98
+ --jsonfile="gotests.json" \
99
+ --packages="./..." \
100
+ -- \
101
+ -covermode=atomic \
102
+ -coverprofile="gotests.coverage"
103
+
104
+ - uses : codecov/codecov-action@v2
105
+ with :
106
+ token : ${{ secrets.CODECOV_TOKEN }}
107
+ files : ./gotests.coverage
108
+ fail_ci_if_error : true
87
109
88
110
test-js :
89
111
name : " test/js"
You can’t perform that action at this time.
0 commit comments