mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-12-27 18:42:35 +01:00
feat(ci/cd): add stylua action (#12)
* feat(ci/cd): add stylua action * docs: Add StyLua disclaimer to README * fix(ci/cd-stylua): Secret started with GITHUB_ * fix(ci/cd-stylua): Missing name, on, jobs
This commit is contained in:
parent
2d57aa297b
commit
fb129b1de7
2 changed files with 13 additions and 0 deletions
11
.github/workflows/stylua.yml
vendored
Normal file
11
.github/workflows/stylua.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
name: StyLua
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
StyLua check:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: JohnnyMorganz/stylua-action@v3
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
version: v0.8.2 # NOTE: we recommend pinning to a specific version in case of formatting changes
|
||||
# CLI arguments
|
||||
args: --check .
|
|
@ -142,6 +142,8 @@ errors: `luacheck lua`
|
|||
**Please use [Conventional Commits](https://www.conventionalcommits.org/) if you want to contribute.
|
||||
It makes everyones jobs easier.**
|
||||
|
||||
**This project uses [StyLua](https://github.com/JohnnyMorganz/StyLua). Please format your code using StyLua for better readability**
|
||||
|
||||
Pull requests are very welcome, feel free to open an issue to work on
|
||||
or message [me (@jiriks74)](https://discordapp.com/users/517810049360461837) on my
|
||||
[Discord server](https://discord.gg/cCq3qcB4jB)!
|
||||
|
|
Loading…
Reference in a new issue