Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arma-actions/sqflint
- Owner: arma-actions
- Created: 2019-09-14T16:10:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T16:27:38.000Z (about 5 years ago)
- Last Synced: 2024-10-15T19:02:14.412Z (3 months ago)
- Topics: actions, arma, sqflint
- Language: Dockerfile
- Homepage: https://github.com/LordGolias/sqf
- Size: 6.84 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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: CIon:
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
```