Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ntbbloodbath/selene-action

GitHub action for selene lua linter
https://github.com/ntbbloodbath/selene-action

actions linter lua selene

Last synced: 19 days ago
JSON representation

GitHub action for selene lua linter

Awesome Lists containing this project

README

        


Selene GitHub Action

selene-action status

GitHub action to run [selene](https://github.com/Kampfkarren/selene), a
blazing-fast modern Lua linter written in Rust.

## Usage

```yaml
- uses: actions/checkout@v2
- uses: NTBBloodbath/[email protected]
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](./LICENSE)

## Inspiration

- [stylua-action](https://github.com/JohnnyMorganz/stylua-action)