Skip to content
arma-actionsPublic

About

Action for LordGolias/sqflint

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/sqflint@v1.0
        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/sqflint@v1.0
        name: Validate with SQFLint with custom arguments
        with:
          args: --exit w --directory Missionframework

About

Action for LordGolias/sqflint

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages