Skip to content

Commit 28c6290

Browse files
committed
ci/circleci: update circleci config
1 parent cdb9bac commit 28c6290

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.circleci/config.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ version: 2.1
22

33
orbs:
44
golang: cci-orb/[email protected]
5+
github: cci-orb/github@dev:0.0.1
6+
codecov: codecov/codecov@volatile
57

68
defaults: &defaults
79
working_directory: /go/src/github.com/go-language-server/jsonrpc2
@@ -15,15 +17,18 @@ jobs:
1517
<<: *defaults
1618
steps:
1719
- checkout
20+
- github/token
1821
- golang/gomod
1922
- run:
20-
name: Test and collect coverages
23+
name: Run go mod vendor
2124
command: |
22-
make coverage/ci
25+
go mod vendor -v
2326
- run:
24-
name: Upload coverages to codecov
27+
name: Test and collect coverages
2528
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"
2732
- store_artifacts:
2833
path: /tmp/ci/artifacts
2934
- store_artifacts:
@@ -35,7 +40,12 @@ jobs:
3540
<<: *defaults
3641
steps:
3742
- checkout
43+
- github/token
3844
- golang/gomod
45+
- run:
46+
name: Run go mod vendor
47+
command: |
48+
go mod vendor -v
3949
- run:
4050
name: Run lint for sources
4151
command: |

0 commit comments

Comments
 (0)