(fix) module pattern #277
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
# Install LuaRocks | |
sudo apt-get update | |
sudo apt-get install -y luarocks | |
# Install luacheck using LuaRocks | |
sudo luarocks install luacheck | |
- name: Lint code | |
run: | | |
# Run linting command and store the exit code | |
luacheck . --globals vim || exit 0 |