aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-02-20 08:05:47 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-02-20 13:50:07 +0100
commit1efb91ce7f28f5b0c402ff250bcd89049fe19853 (patch)
tree45df922229a6c524c3c86c3c63ab2c14a62443a4 /.github
parent1998279dc26d6bf45d573be96a2a97e44ce2c839 (diff)
downloadvis-1efb91ce7f28f5b0c402ff250bcd89049fe19853.tar.gz
vis-1efb91ce7f28f5b0c402ff250bcd89049fe19853.tar.xz
ci: add Lua static code analysis
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/luacheck.yml20
1 files changed, 20 insertions, 0 deletions
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