still trying to fix luacheck workflow

This commit is contained in:
flux 2022-06-12 21:16:20 -07:00
parent 54328987bf
commit c63ff90fa3
1 changed files with 7 additions and 11 deletions

View File

@ -7,21 +7,17 @@ jobs:
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: apt
- run: | run: sudo apt-get install -y luarocks
sudo apt-get update -qq - name: luacheck install
sudo apt-get install -qqq luarocks
- name: Install pre-commit
- name: Install LuaCheck
run: luarocks install --local luacheck run: luarocks install --local luacheck
- name: Run LuaCheck using pre-commit on moreblocks - name: luacheck moreblocks
run: | run: |
pre-commit run --all-files pre-commit run --all-files
$HOME/.luarocks/bin/luacheck ./moreblocks $HOME/.luarocks/bin/luacheck -q ./moreblocks
- name: Run LuaCheck using pre-commit on stairsplus - name: luacheck stairsplus
run: | run: |
pre-commit run --all-files pre-commit run --all-files
$HOME/.luarocks/bin/luacheck ./stairsplus $HOME/.luarocks/bin/luacheck -q ./stairsplus