From b7cb6a87b5d613051b5320ad6ba8ec9020b09375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madis=20M=C3=A4gi?= Date: Sun, 20 Feb 2022 16:39:34 +0200 Subject: [PATCH] Put lint command in own step --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5a13862..a280f89 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,10 @@ type: kubernetes name: default steps: +- name: lint + image: ubuntu + commands: + - sh "pre-commit run --all-files" - name: docker image: plugins/docker settings: @@ -15,4 +19,3 @@ steps: password: from_secret: docker_password commands: - - sh "pre-commit run --all-files"