From ad939c16fc77ed60e6f5c5ed2e70a28a017372f1 Mon Sep 17 00:00:00 2001 From: iLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Tue, 3 May 2022 12:00:26 +0200 Subject: [PATCH] Create lint.yml --- .github/workflows/lint.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..0d17417 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,19 @@ +name: Lint +on: [push, pull_request] +jobs: + lint: + name: Lint Lua Scripts + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Lint + uses: iLLeniumStudios/fivem-lua-lint-action@v1-backticks + with: + capture: "junit.xml" + args: "-t --formatter JUnit" + - name: Publish Test Report + uses: mikepenz/action-junit-report@v2 + with: + report_paths: "**/junit.xml" + fail_on_failure: 0