From 22997575f6b56ed7cce48adcd24a36a811fab7bc Mon Sep 17 00:00:00 2001 From: Andinus Date: Fri, 27 Mar 2020 12:46:17 +0530 Subject: Add go vet in ci testing --- build/ci/drone.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/build/ci/drone.yml b/build/ci/drone.yml index 1888778..6fc9070 100644 --- a/build/ci/drone.yml +++ b/build/ci/drone.yml @@ -1,8 +1,13 @@ --- kind: pipeline -name: go-test +name: testing steps: +- name: vet + image: golang:1.13 + commands: + - go vet ./... + - name: test image: golang:1.13 commands: @@ -10,10 +15,10 @@ steps: --- kind: pipeline -name: go-build +name: build steps: -- name: build-obsd +- name: openbsd-amd64 image: golang:1.13 environment: GOARCH: amd64 @@ -21,7 +26,7 @@ steps: commands: - go build ./cmd/perseus -- name: build-linux +- name: linux-amd64 image: golang:1.13 environment: GOARCH: amd64 @@ -29,7 +34,7 @@ steps: commands: - go build ./cmd/perseus -- name: build-darwin +- name: darwin-amd64 image: golang:1.13 environment: GOARCH: amd64 -- cgit 1.4.1-2-gfad0