Drone: Add linter
continuous-integration/drone/push Build is passing Details

master
Luther Wen Xu 2020-04-23 16:31:34 +07:00
parent 05395032be
commit 237ce4ee2a
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 8 additions and 1 deletions

@ -1,11 +1,18 @@
kind: pipeline
name: Build Application
steps:
- name: Build And Test
- name: Build
image: golang:1.14
commands:
- go build ./...
- name: Test
image: golang:1.14
commands:
- go test ./...
- name: Lint
image: golangci/golangci-lint:v1.25.0
commands:
- golangci-lint run -v
---
kind: pipeline