Flat test surface + ignore-surface-conditions cheat #20
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: Lint | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| luacheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install luacheck | |
| run: sudo apt-get update && sudo apt-get install -y lua-check | |
| - name: Run luacheck | |
| run: luacheck . | |
| stylua: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install stylua | |
| run: | | |
| curl -fsSL https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux-x86_64.zip -o stylua.zip | |
| unzip stylua.zip -d /usr/local/bin | |
| chmod +x /usr/local/bin/stylua | |
| - name: Check formatting | |
| run: stylua --check . |