Skip to content

Commit

Permalink
ci: update lint lua
Browse files Browse the repository at this point in the history
  • Loading branch information
schardev committed Sep 6, 2023
1 parent 12a7ee1 commit 5e9441f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint_lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: Lint lua files
on:
push:
paths:
- "config/nvim/**"
- "**.lua"
pull_request:
paths:
- "config/nvim/**"
- "**.lua"

jobs:
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check formatting with stylua
uses: JohnnyMorganz/stylua-action@v1
uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.TOKEN }}
version: latest
# args passed to stylua
args: --check -f config/nvim/.stylua.toml .

0 comments on commit 5e9441f

Please sign in to comment.