https://github.com/ntbbloodbath/selene-action
GitHub action for selene lua linter
https://github.com/ntbbloodbath/selene-action
actions linter lua selene
Last synced: over 1 year ago
JSON representation
GitHub action for selene lua linter
- Host: GitHub
- URL: https://github.com/ntbbloodbath/selene-action
- Owner: NTBBloodbath
- License: mit
- Created: 2021-06-24T04:49:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T02:25:47.000Z (almost 5 years ago)
- Last Synced: 2025-02-28T10:50:05.980Z (over 1 year ago)
- Topics: actions, linter, lua, selene
- Language: TypeScript
- Homepage:
- Size: 2.52 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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/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](./LICENSE)
## Inspiration
- [stylua-action](https://github.com/JohnnyMorganz/stylua-action)