Add GitHub workflow and luacheck (#545)

Add badge to README
Fix luacheck warnings
Remove node_ownership globals (and support)
This commit is contained in:
David Leal
2020-06-12 13:39:00 -05:00
committed by GitHub
parent befe3ecc86
commit a8daa417c4
31 changed files with 115 additions and 80 deletions

11
.github/workflows/check-release.yml vendored Normal file
View File

@ -0,0 +1,11 @@
on: [push, pull_request]
name: Check & Release
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/technic/master/.luacheckrc