added github workflow for luacheck

This commit is contained in:
wsor 2020-11-04 19:28:13 -05:00
parent 55a52d224c
commit 7f0b080d19

17
.github/workflows/build.yml vendored Normal file

@ -0,0 +1,17 @@
name: build
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 ./