From d059d173559365daff864edbc4c365809b1d6836 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Thu, 5 Aug 2021 15:51:44 +0500 Subject: [PATCH] :construction_worker: Added lint step in Drone CI/CD config --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index d019c84..521ea70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,15 @@ steps: path: /go commands: - go test -v -cover -race ./... + - name: lint + image: golang + volumes: + - name: deps + path: /go + commands: + - wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 + - ./bin/golangci-lint run + failure: ignore volumes: - name: deps temp: {}