Add Github Actions
parent
184e475cce
commit
5e4867fa12
|
@ -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
|
|
@ -0,0 +1,10 @@
|
||||||
|
max_line_length = 90
|
||||||
|
|
||||||
|
read_globals = {
|
||||||
|
"minetest",
|
||||||
|
"sscsm",
|
||||||
|
"ItemStack",
|
||||||
|
"vector",
|
||||||
|
table = { fields = { "copy" } }
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue