From 7c026c51676000fedc64624122641330d7585cad Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Wed, 23 Oct 2019 22:24:30 +0200 Subject: [PATCH] Add LUA linting --- .drone.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3ee8711..0899d8d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,9 +11,13 @@ steps: commands: - git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources - cd sources && git checkout $DRONE_COMMIT - when: - event: - - tag + +- name: lint + image: alpine + commands: + - apk update && apk add --no-cache luarocks + - luarocks install luacheck + - luacheck sources - name: build image: alpine