Merge pull request #7 from thomasrudin-mt/luacheck-workflow

add github workflow for luacheck
This commit is contained in:
D00Med 2019-12-19 16:27:07 +10:00 committed by GitHub
commit 7d7122d578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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 ./