Skip to content

Commit 4349be6

Browse files
authored
ci: add linting workflow for Lua and Markdown files
1 parent 9059e83 commit 4349be6

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
workflow_dispatch:
14+
15+
jobs:
16+
stylua:
17+
uses: BlueLua/bluelua.github.io/.github/workflows/stylua.yml@main
18+
19+
luacheck:
20+
uses: BlueLua/bluelua.github.io/.github/workflows/luacheck.yml@main
21+
22+
markdownlint:
23+
uses: BlueLua/bluelua.github.io/.github/workflows/markdownlint.yml@main

0 commit comments

Comments
 (0)