add .luacheckrc and gh action

This commit is contained in:
BuckarooBanzay
2020-08-31 15:50:33 +02:00
parent 9fda51b650
commit 537e756091
6 changed files with 59 additions and 11 deletions

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

@ -0,0 +1,17 @@
name: luacheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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 ./