Merge pull request #1706 from BrettMayson/this_reassign #1092
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: Arma | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Validate SQF | |
run: python3 tools/sqf_validator.py | |
- name: Validate Config | |
run: python3 tools/config_style_checker.py | |
- name: Check Strings | |
run: python3 tools/check_strings.py | |
- name: Check for BOM | |
uses: arma-actions/bom-check@v1 | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Lint (sqflint) | |
uses: arma-actions/sqflint@master | |
continue-on-error: true # No failure due to many false-positives | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Setup HEMTT | |
uses: arma-actions/hemtt@v1 | |
- name: Run HEMTT build | |
run: hemtt build | |
- name: Rename build folder | |
run: mv .hemttout/build .hemttout/@CBA_A3 | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: CBA_A3_${{ github.sha }}-nobin | |
path: .hemttout/@* | |
include-hidden-files: true # Because .hemttout is a hidden directory |