mirror of
https://github.com/jiriks74/presence.nvim
synced 2025-06-30 07:48:57 +02: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
.github/workflows
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 .
|
Loading…
Add table
Add a link
Reference in a new issue