Skip to content

Commit 08b208d

Browse files
committed
Add StyLua check in pipeline
1 parent 2205fdb commit 08b208d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/default.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: default
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
lint:
7+
name: Lint Lua code
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- name: Check out repo
11+
uses: actions/checkout@v2
12+
- name: Stylua check
13+
uses: JohnnyMorganz/[email protected]
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
args: --color always --check .

0 commit comments

Comments
 (0)