Add Github Actions

master
MoNTE48 2021-02-28 10:15:24 +01:00
parent 184e475cce
commit 5e4867fa12
2 changed files with 21 additions and 0 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/MultiCraft/weather_lite/main/.luacheckrc

10
.luacheckrc Normal file
View File

@ -0,0 +1,10 @@
max_line_length = 90
read_globals = {
"minetest",
"sscsm",
"ItemStack",
"vector",
table = { fields = { "copy" } }
}