Skip to content

Commit

Permalink
feat: add stylua check github action
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Aug 15, 2024
1 parent ea53082 commit 036a0b5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stylua.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Stylua Check

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check ./lua/

0 comments on commit 036a0b5

Please sign in to comment.