fix(mining): move audio load to correct layer #52
This file contains hidden or 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_target] | |
| jobs: | |
| lint: | |
| if: github.event.repository.default_branch == github.ref_name | |
| name: Lint Resource | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get App Token | |
| uses: actions/create-github-app-token@v2 | |
| id: generate_token | |
| with: | |
| app-id: ${{ secrets.APP_ID }} | |
| private-key: ${{ secrets.PRIVATE_KEY }} | |
| owner: ${{ github.repository_owner }} | |
| permission-checks: write | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Lint | |
| uses: Red40-Development/fivem-lua-lint-action@v3 | |
| with: | |
| capture: "junit.xml" | |
| args: "-t --formatter JUnit" | |
| extra_libs: ox_lib+mysql+qblocales+qbox+qbox_playerdata+qbox_lib | |
| - name: Generate Lint Report | |
| if: always() | |
| uses: mikepenz/action-junit-report@v6 | |
| with: | |
| report_paths: "**/junit.xml" | |
| check_annotations: true | |
| check_name: Linting Report | |
| fail_on_failure: false | |
| token: ${{ steps.generate_token.outputs.token }} |