Ported forward stranded coding to keep track of pushes per phase and … #654
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Linting | |
on: | |
push: | |
branches: [main, beta, ni] | |
pull_request: | |
branches: [main, beta, ni] | |
jobs: | |
luacheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup luacheck | |
run: | | |
sudo apt-get install -y lua5.2 luarocks liblua5.2-dev build-essential | |
luarocks --local --lua-version 5.2 install luacheck | |
echo "$(luarocks path --lr-bin)" >> $GITHUB_PATH | |
- name: Run luacheck | |
run: | | |
echo "::add-matcher::${{github.workspace}}/.github/luacheck-matcher.json" | |
luacheck . --codes -q --formatter plain --ranges | |
echo "::remove-matcher owner=luacheck-error::" | |
echo "::remove-matcher owner=luacheck-warning::" |