Skip to content
check-circle

GitHub Action

selene-linter

v1.0.0 Latest version

selene-linter

check-circle

selene-linter

GitHub action to run Selene, a blazing-fast modern Lua linter written in Rust

Installation

Copy and paste the following snippet into your .yml file.

              

- name: selene-linter

uses: NTBBloodbath/selene-action@v1.0.0

Learn more about this action in NTBBloodbath/selene-action

Choose a version

Selene GitHub Action

selene-action status

GitHub action to run selene, a blazing-fast modern Lua linter written in Rust.

Usage

- uses: actions/checkout@v2
- uses: NTBBloodbath/selene-action@v1.0.0
  with:
    # Github secret token
    token: ${{ secrets.GITHUB_TOKEN }}
    # selene arguments
    args: --display-style=quiet .
    # selene version
    version: 0.12.1

Parameters

Required parameters

  • token
    • GitHub secret token for downloading selene binary from GitHub releases.
  • args
    • Arguments to be passed to selene.

Optional parameters

  • version
    • Version of selene to be used. If not specified, installs the latest release.

License

selene-action is MIT licensed

Inspiration