name: "Quality Check" on: - push - pull_request jobs: qs: name: "Quality Checks" runs-on: "ubuntu-latest" container: image: "git.euph.dev/actions/runner-lua-5.3:latest" steps: - name: "Checkout" uses: "https://git.euph.dev/actions/checkout@v3" - name: "Linting" run: stylua --check lua - name: "Static Analysis" run: | status=$(lua-language-server --logpath="./log" --chechklevel=Error --check lua/) if ! echo "$status" | grep -qF "Diagnosis completed, no problems found"; then cat ./log/check.json | jq && exit 1 fi