Skip to content

Commit a563edf

Browse files
authored
Merge pull request #16 from netresearch/chore/add-lint-ci
chore: add lint CI
2 parents 3638453 + 2dd33e5 commit a563edf

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/lint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
markdown:
13+
name: Markdown
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22.0.0
18+
19+
shellcheck:
20+
name: ShellCheck
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
- uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
25+
with:
26+
severity: warning
27+
env:
28+
SHELLCHECK_OPTS: -x

.markdownlint-cli2.jsonc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"config": {
3+
"MD012": false,
4+
"MD013": false,
5+
"MD022": false,
6+
"MD024": false,
7+
"MD031": false,
8+
"MD032": false,
9+
"MD033": false,
10+
"MD040": false,
11+
"MD041": false,
12+
"MD060": false
13+
}
14+
}

0 commit comments

Comments
 (0)