Skip to content

Commit

Permalink
Update lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed May 29, 2023
1 parent 2f3c607 commit 34fbc33
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
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@v3
- name: Lint
uses: GoatG33k/fivem-lua-lint-action@v1
uses: iLLeniumStudios/fivem-lua-lint-action@v2
with:
capture: "junit.xml"
args: "-t --formatter JUnit"
- name: Publish Test Report
uses: mikepenz/action-junit-report@v2
extra_libs: mysql
- 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

0 comments on commit 34fbc33

Please sign in to comment.