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: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qqq luarocks
|
||||
- name: Install pre-commit
|
||||
run: pip3 install pre-commit
|
||||
|
||||
- name: Install LuaCheck
|
||||
run: luarocks install --local luacheck
|
||||
|
||||
- name: Install LuaCheck and pre-commit
|
||||
run: |
|
||||
pip3 install pre-commit
|
||||
luarocks install --local luacheck
|
||||
- name: Run LuaCheck using pre-commit
|
||||
run: |
|
||||
export PATH="$HOME/.luarocks/bin:$PATH"
|
||||
pre-commit run --all-files
|
||||
$HOME/.luarocks/bin/luacheck .
|
||||
|
Loading…
Reference in New Issue
Block a user