Skip to content

Commit 1aa0cdf

Browse files
committed
fix: error in action
1 parent c9983e4 commit 1aa0cdf

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
17-
- name: Set up stylua
16+
- name: Run stylua check
1817
uses: JohnnyMorganz/stylua-action@v4
1918
with:
2019
token: ${{ secrets.GITHUB_TOKEN }}
21-
version: latest # Specify the stylua version
22-
# args: --check . # stylua action runs check by default
23-
24-
- name: Run lint check via Makefile
25-
run: make lint # Use Makefile target
20+
version: latest
21+
args: --check . # Explicitly tell stylua to check the current directory

0 commit comments

Comments
 (0)