Skip to content

Add reusable workflow to build addons #4

Add reusable workflow to build addons

Add reusable workflow to build addons #4

Workflow file for this run

name: PR
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
paths-ignore:
- README.md
- .git*
jobs:
build:
name: Build
uses: ./.github/workflows/reusable-build.yml
clippy:

Check failure on line 16 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / PR

Invalid workflow file

The workflow is not valid. .github/workflows/pr.yml (Line: 16, Col: 3): Error calling workflow 'DarkWanderer/DynamicOperations/.github/workflows/reusable-clippy.yml@02f42c6001b3b1e08ce6414e0c2706011e56e5a6'. The nested job 'rust-clippy-analyze' is requesting 'security-events: write', but is only allowed 'security-events: none'.
name: Clippy
uses: ./.github/workflows/reusable-clippy.yml
lint:
name: SQFLint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Enable problem matcher
run: echo "::add-matcher::.github/matchers/sqf.json"
- name: SQFLint
uses: arma-actions/sqflint@master
continue-on-error: true # No failure due to many false-positives:
parse:
name: Run SQF parse test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SQLVM parse test
uses: darkwanderer/sqfvm-action@master
continue-on-error: true # No failure, experimental run
with:
command: --input-sqf addons/factions/fnc_initFactions.sqf