Skip to content

Commit

Permalink
ci: add stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Aug 13, 2023
1 parent 49b686d commit 813c2a4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: StyLua

on:
pull_request:
push:
paths-ignore:
- "*.md"
branches: [master]

jobs:
stylua:
name: StyLua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.18.1
args: --check .

0 comments on commit 813c2a4

Please sign in to comment.