ed
This commit is contained in:
parent
1ed76cfb9b
commit
6c91401253
15 changed files with 1112 additions and 0 deletions
23
resources/[carscripts]/qb-vehicle-tracker/.github/workflows/lint.yml
vendored
Normal file
23
resources/[carscripts]/qb-vehicle-tracker/.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Lint
|
||||
on: [push, pull_request_target]
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint Resource
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Lint
|
||||
uses: iLLeniumStudios/fivem-lua-lint-action@v2
|
||||
with:
|
||||
capture: "junit.xml"
|
||||
args: "-t --formatter JUnit"
|
||||
extra_libs: ox_lib+mysql
|
||||
- name: Generate Lint Report
|
||||
if: always()
|
||||
uses: mikepenz/action-junit-report@v4
|
||||
with:
|
||||
report_paths: "**/junit.xml"
|
||||
check_name: Linting Report
|
||||
fail_on_failure: false
|
Loading…
Add table
Add a link
Reference in a new issue