Skip to content

Commit 43c0dda

Browse files
committed
ci: add markdown and yaml lint workflow
1 parent 7b95c1b commit 43c0dda

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "**" ]
6+
pull_request:
7+
branches: [ "**" ]
8+
9+
jobs:
10+
lint:
11+
name: Lint Markdown and YAML
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Markdown Lint
18+
uses: avto-dev/markdown-lint@v1
19+
with:
20+
config: .markdownlint.yaml
21+
args: |
22+
**/*.md
23+
24+
- name: YAML Lint
25+
uses: ibiqlik/action-yamllint@v3
26+
with:
27+
file_or_dir: .
28+
config_file: .yamllint
29+
strict: true

0 commit comments

Comments
 (0)