-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f3c607
commit 34fbc33
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |