github actions

This commit is contained in:
Thomas Rudin 2019-12-01 17:43:53 +01:00
parent 6198823793
commit c2b3fffa0e
2 changed files with 17 additions and 12 deletions

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