--- # Check Lua Formatting name: StyLua on: pull_request: branches: [main] push: branches: [main] jobs: stylua: runs-on: self-hosted container: image: alpine:latest steps: - uses: actions/checkout@v4 - run: apk add --no-cache curl unzip git shell: /bin/sh - run: | curl -L -o stylua.zip "https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux.zip" unzip stylua.zip chmod +x stylua shell: /bin/sh - run: ./stylua --check . shell: /bin/sh