mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-11-23 12:27:50 +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
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…
x
Reference in New Issue
Block a user