mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-12-22 11:25:27 +01:00
re-enable pre-commit checks (was disabled unknowingly)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user