Merge pull request #2138 from joto/update-fmt #213
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: Check Lua scripts with luacheck | |
on: [ push, pull_request ] | |
jobs: | |
luacheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install prerequisites | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -yq --no-install-suggests --no-install-recommends lua-check | |
- name: Run luacheck | |
run: luacheck flex-config/*.lua flex-config/gen/*.lua tests/data/*.lua tests/lua/tests.lua | |