Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit 5695712

Browse files
authored
ci: update lint.yaml (#95)
1 parent 990ce5f commit 5695712

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/lint.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717

1818
- uses: leafo/gh-actions-lua@master
1919
with:
@@ -27,8 +27,9 @@ jobs:
2727
- name: Lint
2828
run: luacheck lua
2929

30-
- uses: JohnnyMorganz/stylua-action@1.0.0
30+
- uses: JohnnyMorganz/stylua-action@v3
3131
with:
32-
token: ${{ secrets.GITHUB_TOKEN }}
33-
# CLI arguments
34-
args: --check lua
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
version: v0.20.0 # NOTE: we recommend pinning to a specific version in case of formatting changes
34+
# CLI arguments
35+
args: --check lua

0 commit comments

Comments
 (0)