From 03757cc65bd260b99acf7314229680882a21076e Mon Sep 17 00:00:00 2001 From: Aire-One Date: Fri, 12 Aug 2022 19:49:18 +0200 Subject: [PATCH] fix when again --- .woodpecker/lint.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 2328009..1b0620a 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -1,8 +1,3 @@ -variables: &when - when: - path: - include: [".woodpecker/lint.yml", "*.lua"] - pipeline: lint: image: ghcr.io/lunarmodules/luacheck:v0.26.1 @@ -10,11 +5,16 @@ pipeline: commands: - apk add just - just check-lua - when: *when + when: + path: + include: [".woodpecker/lint.yml", "*.lua"] + style: image: alpine:edge # Stylua is only available on edge repository for now group: lint commands: - apk add just stylua - just check-format - when: *when + when: + path: + include: [".woodpecker/lint.yml", "*.lua"]