-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 1.04 KB
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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:
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