Create lint.yml

This commit is contained in:
iLLeniumStudios
2022-05-03 12:00:26 +02:00
committed by GitHub
parent 42a18e5a12
commit ad939c16fc
+19
View File
@@ -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