mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
25 lines
581 B
YAML
25 lines
581 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
jobs:
|
|
lint:
|
|
name: Lint Resource
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Lint
|
|
uses: iLLeniumStudios/fivem-lua-lint-action@v2
|
|
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
|