Skip to content

Commit 98c0ea2

Browse files
committed
ci: stylua check
1 parent e3f7f7e commit 98c0ea2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/format.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Format Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
format-check:
7+
runs-on: ubuntu-22.04
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: JohnnyMorganz/stylua-action@v4
12+
with:
13+
token: ${{ secrets.GITHUB_TOKEN }}
14+
version: v2.1.0
15+
# This disables running `stylua`
16+
args: false
17+
- run: |
18+
make check

0 commit comments

Comments
 (0)