Create lint.yml

This commit is contained in:
Kakarot
2022-05-06 21:46:02 -05:00
committed by GitHub
parent fff42697c6
commit 4239aeb080
+22
View File
@@ -0,0 +1,22 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
name: Lint Resource
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint
uses: iLLeniumStudios/fivem-lua-lint-action@v1.0.11
with:
capture: "junit.xml"
args: "-t --formatter JUnit"
extra_libs: mysql
- name: Generate Lint Report
if: always()
uses: mikepenz/action-junit-report@v3
with:
report_paths: "**/junit.xml"
check_name: Linting Report
fail_on_failure: false