Skip to content

Commit 2b9e30d

Browse files
authored
ci: add lint.yml
1 parent 950bbaa commit 2b9e30d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- ".github/workflows/lint.yml"
9+
- ".markdownlint-cli2.jsonc"
10+
- ".stylua.toml"
11+
- "src/**/*.lua"
12+
- "**/*.md"
13+
pull_request:
14+
paths:
15+
- ".github/workflows/lint.yml"
16+
- ".markdownlint-cli2.jsonc"
17+
- ".stylua.toml"
18+
- "**/*.lua"
19+
- "**/*.md"
20+
workflow_dispatch:
21+
22+
jobs:
23+
stylua:
24+
uses: BlueLua/bluelua.github.io/.github/workflows/stylua.yml@main
25+
26+
luacheck:
27+
uses: BlueLua/bluelua.github.io/.github/workflows/luacheck.yml@main
28+
29+
markdownlint:
30+
uses: BlueLua/bluelua.github.io/.github/workflows/markdownlint.yml@main

0 commit comments

Comments
 (0)