mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
24 lines
610 B
YAML
24 lines
610 B
YAML
name: Lint
|
|
on: [push, pull_request]
|
|
jobs:
|
|
lint:
|
|
name: Lint Resource
|
|
runs-on: ubuntu-latest
|
|
#runs-on: self-hosted
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Lint
|
|
uses: iLLeniumStudios/fivem-lua-lint-action@v1.0.5
|
|
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
|