add luacheck, fix errors, add github actions

This commit is contained in:
unknown
2021-11-28 01:28:44 -05:00
parent 0a43ffe46a
commit 92ee7e419e
4 changed files with 45 additions and 23 deletions

18
.github/workflows/luacheck.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: luacheck
on: [push, pull_request]
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 ./