neovim config
1# Check Lua Formatting
2name: Check Lua Formatting
3on: pull_request_target
4
5jobs:
6 stylua-check:
7 if: github.repository == 'nvim-lua/kickstart.nvim'
8 name: Stylua Check
9 runs-on: ubuntu-latest
10 steps:
11 - name: Checkout Code
12 uses: actions/checkout@v6
13 with:
14 ref: ${{ github.event.pull_request.head.sha }}
15 - name: Stylua Check
16 uses: JohnnyMorganz/stylua-action@v4
17 with:
18 token: ${{ secrets.GITHUB_TOKEN }}
19 version: latest
20 args: --check .