Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arma-actions/sqflint

Action for LordGolias/sqflint
https://github.com/arma-actions/sqflint

actions arma sqflint

Last synced: about 2 months ago
JSON representation

Action for LordGolias/sqflint

Awesome Lists containing this project

README

        

# GitHub Action for SQFLint

This action runs [sqflint](https://github.com/LordGolias/sqf) 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

```yml
# 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..steps.with.args`. *This will remove default arguments from sqflint.*

```yml
# 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
```