From 798c5b4e125062c2d195d4ee82d119cf30c45dbf Mon Sep 17 00:00:00 2001 From: Meutel Date: Wed, 11 Sep 2019 15:52:45 +0200 Subject: [PATCH] linter --- .drone.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index f3512bc..a4ccef0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,11 +4,6 @@ type: docker name: default steps: - - name: test - image: golang - commands: - - go get - - go test ./... - name: build image: golang @@ -16,7 +11,10 @@ steps: CGO_ENABLED: 1 GOOS: linux commands: + - go test ./... - go build -a -installsuffix cgo . + - go get github.com/golang/lint/golint + - golint ./... trigger: event: @@ -24,6 +22,6 @@ trigger: --- kind: signature -hmac: 2d623082fddfc811a5f7527f8220477d288dd62dd6fa0ca1d66ca64d3f41b929 +hmac: a295e2f0c4e9d6b094b85ce7d8288ff94e6380c5d901aedcc4f71d08f0d691b2 ...