Skip to content

sqflint

Actions
Parser, static analyzer and interpreter of SQF (Arma programming language)
v1.0
Latest
Star (7)

Tags

 (1)

GitHub Action for SQFLint

This action runs sqflint on your code.

By default the program is run with following arguments:

  • --exit e - return 1 and exit on error
  • --directory addons - lint code in addons directory

Example workflow

# main.yml
name: CI

on:
  push:
    branches:
      - master
  pull_request: ~

jobs:
  test-sqflint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - uses: arma-actions/[email protected]
        name: Validate with SQFLint

Customizing arguments

If you want to customize the arguments given to sqflint binary you can do this by specifying the arguments in jobs.<job>.steps.with.args. This will remove default arguments from sqflint.

# main.yml
jobs:
  test-sqflint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - uses: arma-actions/[email protected]
        name: Validate with SQFLint with custom arguments
        with:
          args: --exit w --directory Missionframework

sqflint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Parser, static analyzer and interpreter of SQF (Arma programming language)
v1.0
Latest

Tags

 (1)

sqflint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.