Separate diagnostics mappings in new Lua file #238
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: Lua | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Lua | |
uses: leafo/gh-actions-lua@v8 | |
- name: Set up Luarocks | |
uses: leafo/gh-actions-luarocks@v4 | |
- name: Install Luacheck | |
run: | | |
luarocks install luacheck | |
- name: Lint with Luacheck | |
run: | | |
make lint-lua |