chore: separate tests in a different action #352
Workflow file for this run
This file contains hidden or 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: Static Analysis | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| luacheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Luacheck | |
| uses: lunarmodules/luacheck@v1.2.0 | |
| stylua: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Stylua | |
| uses: JohnnyMorganz/stylua-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes | |
| # CLI arguments | |
| args: --check . |