Skip to content

Flat test surface + ignore-surface-conditions cheat #20

Flat test surface + ignore-surface-conditions cheat

Flat test surface + ignore-surface-conditions cheat #20

Workflow file for this run

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 .