File tree 1 file changed +17
-14
lines changed 1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
3
orbs :
4
- codecov :
codecov/[email protected] .0
4
+ codecov :
codecov/[email protected]
5
5
6
- jobs :
7
- lint_markdown :
6
+ executors :
7
+ node :
8
8
docker :
9
9
- image : node:14-slim
10
+ golang :
11
+ docker :
12
+ - image : golang:1.14
13
+ golangci-lint :
14
+ docker :
15
+ - image : golangci/golangci-lint:v1.29-alpine
16
+
17
+ jobs :
18
+ lint_markdown :
19
+ executor : node
10
20
steps :
11
21
- checkout
12
22
- run :
17
27
command : markdownlint .
18
28
19
29
check_mod_tidy :
20
- docker :
21
- - image : golang:1.14
30
+ executor : golang
22
31
steps :
23
32
- checkout
24
33
- run :
@@ -29,29 +38,23 @@ jobs:
29
38
command : git diff --exit-code -- go.mod go.sum
30
39
31
40
build_source :
32
- docker :
33
- - image : golang:1.14
41
+ executor : golang
34
42
steps :
35
43
- checkout
36
44
- run :
37
45
name : Build Source
38
46
command : go build ./...
39
47
40
48
lint_source :
41
- docker :
42
- - image : golang:1.14
49
+ executor : golangci-lint
43
50
steps :
44
51
- checkout
45
- - run :
46
- name : Install golangci-lint
47
- command : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.28.1
48
52
- run :
49
53
name : Check for Lint
50
54
command : golangci-lint run
51
55
52
56
unit_test :
53
- docker :
54
- - image : golang:1.14
57
+ executor : golang
55
58
steps :
56
59
- checkout
57
60
- run :
You can’t perform that action at this time.
0 commit comments