Merge pull request #557 from bitpredator/dev #995
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
name: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint Resource | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint | |
uses: iLLeniumStudios/fivem-lua-lint-action@v2 | |
with: | |
capture: "junit.xml" | |
args: "-t --formatter JUnit" | |
extra_libs: mysql+ox_lib | |
- name: Generate Lint Report | |
if: always() | |
uses: mikepenz/action-junit-report@v4 | |
with: | |
report_paths: "**/junit.xml" | |
check_name: Linting Report | |
fail_on_failure: false |