re-enable pre-commit checks (was disabled unknowingly)
This commit is contained in:
parent
0156ced84d
commit
488f949a97
|
@ -1,5 +1,5 @@
|
||||||
name: build
|
name: build
|
||||||
on: [ push, pull_request ]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -7,9 +7,16 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
- uses: actions/setup-python@master
|
||||||
|
|
||||||
|
- name: Install pre-commit
|
||||||
|
run: pip3 install pre-commit
|
||||||
|
|
||||||
|
- name: Run pre-commit
|
||||||
|
run: pre-commit run --all-files
|
||||||
|
|
||||||
- name: install luarocks
|
- name: install luarocks
|
||||||
run: sudo apt-get install -y luarocks
|
run: sudo apt-get install -qq luarocks
|
||||||
|
|
||||||
- name: install luacheck via luarocks
|
- name: install luacheck via luarocks
|
||||||
run: luarocks install --local luacheck
|
run: luarocks install --local luacheck
|
||||||
|
|
|
@ -4,4 +4,3 @@ luacheck --config ./invsaw/.luacheckrc -q ./invsaw
|
||||||
luacheck --config ./moreblocks/.luacheckrc -q ./moreblocks
|
luacheck --config ./moreblocks/.luacheckrc -q ./moreblocks
|
||||||
luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
|
luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
|
||||||
luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy
|
luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
minetest.register_alias("circular_saw", "stairsplus:circular_saw")
|
minetest.register_alias("circular_saw", "stairsplus:circular_saw")
|
||||||
minetest.register_alias("moreblocks:circular_saw", "stairsplus:circular_saw")
|
minetest.register_alias("moreblocks:circular_saw", "stairsplus:circular_saw")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -99,5 +99,3 @@ for _, single in ipairs(api.registered_singles) do
|
||||||
end
|
end
|
||||||
|
|
||||||
api.register_on_register_single(on_register_single)
|
api.register_on_register_single(on_register_single)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,3 @@ stairsplus.dofile("compat", "unified_inventory")
|
||||||
|
|
||||||
stairsplus.dofile("compat", "stairs")
|
stairsplus.dofile("compat", "stairs")
|
||||||
stairsplus.dofile("compat", "old_moreblocks")
|
stairsplus.dofile("compat", "old_moreblocks")
|
||||||
|
|
||||||
|
|
|
@ -130,5 +130,3 @@ for _, single in ipairs(api.registered_singles) do
|
||||||
end
|
end
|
||||||
|
|
||||||
api.register_on_register_single(on_register_single)
|
api.register_on_register_single(on_register_single)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,4 +36,3 @@ for tr in ourdir.glob('*.tr'):
|
||||||
print(f'{key}={value}', file=fh)
|
print(f'{key}={value}', file=fh)
|
||||||
else:
|
else:
|
||||||
print(line, end='', file=fh)
|
print(line, end='', file=fh)
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,3 @@ if materials.cement_block and materials.cement_block ~= "gloopblocks:cement" the
|
||||||
elseif minetest.registered_nodes["gloopblocks:cement"] then
|
elseif minetest.registered_nodes["gloopblocks:cement"] then
|
||||||
stairsplus_legacy.register_legacy("gloopblocks:cement")
|
stairsplus_legacy.register_legacy("gloopblocks:cement")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue