Skip to content

Commit

Permalink
ci: add stylua workflow for neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
gelocraft committed Dec 14, 2024
1 parent 98c5711 commit eef6588
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stylua.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
on: # yamllint disable-line rule:truthy
push:
paths:
- nvim/**.lua
workflow_dispatch:

defaults:
run:
working-directory: ./nvim

jobs:
stylua:
runs-on: macos-latest
steps:
- name: Install stylua
run: brew install stylua

- uses: actions/checkout@v4
- name: Stylua Check
run: stylua --check .

0 comments on commit eef6588

Please sign in to comment.