From 1efb91ce7f28f5b0c402ff250bcd89049fe19853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 20 Feb 2020 08:05:47 +0100 Subject: ci: add Lua static code analysis --- .github/workflows/luacheck.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/luacheck.yml (limited to '.github') diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml new file mode 100644 index 0000000..0ff4248 --- /dev/null +++ b/.github/workflows/luacheck.yml @@ -0,0 +1,20 @@ +name: Lua Check + +on: + push: + paths: + - 'lua/**' + +jobs: + luacheck: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v2 + + - name: Dependency + run: sudo apt install lua-check + + - name: Check + run: make luacheck -- cgit v1.2.3