Skip to content

Commit d7bff68

Browse files
committed
fix cicleci config
1 parent ab3c14e commit d7bff68

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

.circleci/config.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,24 @@ jobs:
2424
keys:
2525
- v1-go-src-{{ .Branch }}-{{ .Revision }}
2626
- run:
27-
name: Install gometalinter
28-
command: |
29-
go get -u github.com/alecthomas/gometalinter
30-
gometalinter --install
27+
name: Get shadow
28+
command: go get golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
29+
- run:
30+
name: Install shadow
31+
command: go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
32+
- run:
33+
name: Download and install errcheck
34+
command: go get -u github.com/kisielk/errcheck
35+
- run:
36+
name: Download and install misspell
37+
command: go get -u github.com/client9/misspell/cmd/misspell
38+
- run:
39+
name: Download and install ineffassign
40+
command: go get -u github.com/gordonklaus/ineffassign
3141
- run:
32-
name: Test
33-
command: bash scripts/test.sh
42+
name: Download and install staticheck
43+
command: go get -u honnef.co/go/tools/cmd/staticcheck
44+
- run: make test
3445
validate:
3546
executor: base
3647
steps:
@@ -57,7 +68,7 @@ jobs:
5768
- restore_cache:
5869
keys:
5970
- v1-go-src-{{ .Branch }}-{{ .Revision }}
60-
- run: bash scripts/build_cli.sh
71+
- run: make build
6172
- store_artifacts:
6273
path: bin
6374
destination: /

0 commit comments

Comments
 (0)