feat(Repository): Add Lint

This commit is contained in:
Mycroft
2022-02-08 18:45:35 +00:00
parent f695fdd282
commit 2f2f304bb9
+19
View File
@@ -0,0 +1,19 @@
name: CI
on: [push, pull_request]
jobs:
lint:
name: Lint Lua Scripts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint
uses: GoatG33k/fivem-lua-lint-action@v1
with:
capture: "junit.xml"
args: "-t --formatter JUnit --no-max-comment-line-length"
- name: Publish Test Report
uses: mikepenz/action-junit-report@v2
with:
report_paths: "**/junit.xml"
fail_on_failure: 0