chore: add lint check

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2019-03-04 16:10:45 +08:00
parent 3342cdf59a
commit a92fa054fe
2 changed files with 28 additions and 17 deletions

View File

@ -18,6 +18,17 @@ steps:
- name: gopath - name: gopath
path: /go path: /go
- name: lint
pull: always
image: golang:1.12
commands:
- make lint
environment:
GO111MODULE: on
volumes:
- name: gopath
path: /go
- name: misspell - name: misspell
pull: always pull: always
image: golang:1.12 image: golang:1.12

View File

@ -24,23 +24,23 @@
}, },
], ],
}, },
// { {
// name: 'lint', name: 'lint',
// image: 'golang:1.12', image: 'golang:1.12',
// pull: 'always', pull: 'always',
// environment: { environment: {
// GO111MODULE: 'on', GO111MODULE: 'on',
// }, },
// commands: [ commands: [
// 'make lint', 'make lint',
// ], ],
// volumes: [ volumes: [
// { {
// name: 'gopath', name: 'gopath',
// path: '/go', path: '/go',
// }, },
// ], ],
// }, },
{ {
name: 'misspell', name: 'misspell',
image: 'golang:1.12', image: 'golang:1.12',