add github actions for luacheck

This commit is contained in:
unknown 2022-07-01 15:42:46 -04:00
parent 03ae8b6adf
commit 60aaae8716
1 changed files with 18 additions and 0 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 ./