File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ version: 2.1
2
2
3
3
orbs :
4
4
5
+ github : cci-orb/github@dev:0.0.1
6
+ codecov : codecov/codecov@volatile
5
7
6
8
defaults : &defaults
7
9
working_directory : /go/src/github.com/go-language-server/jsonrpc2
@@ -15,15 +17,18 @@ jobs:
15
17
<< : *defaults
16
18
steps :
17
19
- checkout
20
+ - github/token
18
21
- golang/gomod
19
22
- run :
20
- name : Test and collect coverages
23
+ name : Run go mod vendor
21
24
command : |
22
- make coverage/ci
25
+ go mod vendor -v
23
26
- run :
24
- name : Upload coverages to codecov
27
+ name : Test and collect coverages
25
28
command : |
26
- bash <(curl -s https://codecov.io/bash) -f /tmp/ci/artifacts/coverage.out
29
+ make coverage/ci
30
+ - codecov/upload :
31
+ file : " /tmp/ci/artifacts/coverage.out"
27
32
- store_artifacts :
28
33
path : /tmp/ci/artifacts
29
34
- store_artifacts :
35
40
<< : *defaults
36
41
steps :
37
42
- checkout
43
+ - github/token
38
44
- golang/gomod
45
+ - run :
46
+ name : Run go mod vendor
47
+ command : |
48
+ go mod vendor -v
39
49
- run :
40
50
name : Run lint for sources
41
51
command : |
You can’t perform that action at this time.
0 commit comments