aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/luacheck.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/luacheck.yml')
-rw-r--r--.github/workflows/luacheck.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml
new file mode 100644
index 0000000..a03fe92
--- /dev/null
+++ b/.github/workflows/luacheck.yml
@@ -0,0 +1,17 @@
+name: luacheck
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: apt
+ run: sudo apt-get install -y luarocks
+ - name: luacheck install
+ run: luarocks install --local luacheck
+ - name: luacheck run
+ run: $HOME/.luarocks/bin/luacheck ./