mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-12-27 10:50:21 +01:00
Fix LuaCheck workflow (#53)
This commit is contained in:
parent
041abf66a5
commit
c5195f4ecd
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -12,13 +12,11 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qqq luarocks
|
sudo apt-get install -qqq luarocks
|
||||||
- name: Install pre-commit
|
- name: Install LuaCheck and pre-commit
|
||||||
run: pip3 install pre-commit
|
run: |
|
||||||
|
pip3 install pre-commit
|
||||||
- name: Install LuaCheck
|
luarocks install --local luacheck
|
||||||
run: luarocks install --local luacheck
|
|
||||||
|
|
||||||
- name: Run LuaCheck using pre-commit
|
- name: Run LuaCheck using pre-commit
|
||||||
run: |
|
run: |
|
||||||
|
export PATH="$HOME/.luarocks/bin:$PATH"
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
$HOME/.luarocks/bin/luacheck .
|
|
||||||
|
Loading…
Reference in New Issue
Block a user