mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 15:00:19 +01:00
re-enable pre-commit checks (was disabled unknowingly)
This commit is contained in:
parent
0156ced84d
commit
488f949a97
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -1,5 +1,5 @@
|
|||
name: build
|
||||
on: [ push, pull_request ]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -7,9 +7,16 @@ jobs:
|
|||
|
||||
steps:
|
||||
- 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
|
||||
run: sudo apt-get install -y luarocks
|
||||
run: sudo apt-get install -qq luarocks
|
||||
|
||||
- name: install luacheck via luarocks
|
||||
run: luarocks install --local luacheck
|
||||
|
|
|
@ -4,4 +4,3 @@ luacheck --config ./invsaw/.luacheckrc -q ./invsaw
|
|||
luacheck --config ./moreblocks/.luacheckrc -q ./moreblocks
|
||||
luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
|
||||
luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy
|
||||
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
minetest.register_alias("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
|
||||
|
||||
api.register_on_register_single(on_register_single)
|
||||
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ stairsplus.dofile("compat", "unified_inventory")
|
|||
|
||||
stairsplus.dofile("compat", "stairs")
|
||||
stairsplus.dofile("compat", "old_moreblocks")
|
||||
|
||||
|
|
|
@ -130,5 +130,3 @@ for _, single in ipairs(api.registered_singles) do
|
|||
end
|
||||
|
||||
api.register_on_register_single(on_register_single)
|
||||
|
||||
|
||||
|
|
|
@ -36,4 +36,3 @@ for tr in ourdir.glob('*.tr'):
|
|||
print(f'{key}={value}', file=fh)
|
||||
else:
|
||||
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
|
||||
stairsplus_legacy.register_legacy("gloopblocks:cement")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user