Add GitHub workflow and LuaCheck (#34)

* Add GitHub workflow and LuaCheck

* Fix LuaCheck warnings

* Improve README.md
This commit is contained in:
David Leal
2020-05-25 13:42:09 -05:00
committed by GitHub
parent f015cc1631
commit de38b20fa6
4 changed files with 35 additions and 6 deletions

11
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,11 @@
on: [push, pull_request]
name: build
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: lint
uses: Roang-zero1/factorio-mod-luacheck@master
with:
luacheckrc_url: https://raw.githubusercontent.com/minetest-mods/item_drop/master/.luacheckrc