mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 17:01:14 +00:00
refactor: workflows - change to iLLeniumStudios Lint
This commit is contained in:
+10
-10
@@ -1,20 +1,20 @@
|
||||
name: CI
|
||||
name: Lint
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint Lua Scripts
|
||||
name: Lint Resource
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
- name: Lint
|
||||
uses: Sub-Zero-Interactive/fivem-lua-lint-action@v1.1
|
||||
uses: iLLeniumStudios/fivem-lua-lint-action@v2
|
||||
with:
|
||||
capture: "junit.xml"
|
||||
args: "-t --formatter JUnit --no-max-comment-line-length"
|
||||
extra_libs: "+esx_legacy"
|
||||
- name: Publish Test Report
|
||||
uses: mikepenz/action-junit-report@v2
|
||||
args: "-t --formatter JUnit"
|
||||
- name: Generate Lint Report
|
||||
if: always()
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
with:
|
||||
report_paths: "**/junit.xml"
|
||||
fail_on_failure: 0
|
||||
check_name: Linting Report
|
||||
fail_on_failure: false
|
||||
|
||||
Reference in New Issue
Block a user