add luacheck action

This commit is contained in:
BuckarooBanzay 2020-12-16 16:19:06 +01:00
parent faed7c1c0b
commit e10475b6d8
2 changed files with 21 additions and 0 deletions

18
.github/workflows/luacheck.yml vendored Normal file

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

@ -1,6 +1,9 @@
controls library for minetest controls library for minetest
![](https://github.com/mt-mods/controls/workflows/luacheck/badge.svg)
used by https://github.com/Arcelmi/minetest-bows.git used by https://github.com/Arcelmi/minetest-bows.git
Original repo: https://github.com/Arcelmi/minetest-controls Original repo: https://github.com/Arcelmi/minetest-controls