Skip to content

Commit 1e38271

Browse files
committed
Add markdownlint job to linting action
1 parent 266edae commit 1e38271

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

β€Ž.github/workflows/lint.ymlβ€Ž

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,36 @@
1-
name: Code Linting πŸ”Žβš‘
1+
name: Linting πŸ“‘πŸ”Žβš‘
22

33
on:
44
push:
55
pull_request:
66
workflow_dispatch:
77

88
jobs:
9-
10-
lint:
9+
ruff:
1110
name: Ruff βš‘πŸ•΅
1211

1312
runs-on: ubuntu-latest
1413

1514
steps:
16-
1715
- name: πŸ“₯ Checkout repo
1816
uses: actions/checkout@v4
1917

2018
- name: Run Ruff checks ⚑
2119
uses: astral-sh/ruff-action@v3
2220
with:
2321
args: check
22+
23+
markdownlint:
24+
name: Markdownlint πŸ“‘πŸ•΅
25+
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: πŸ“₯ Checkout repo
29+
uses: actions/checkout@v4
30+
31+
- name: Run markdownlint-cli2-action πŸ“‘
32+
uses: DavidAnson/markdownlint-cli2-action@v22
33+
with:
34+
globs: |
35+
*.md
36+
!test/*.md

0 commit comments

Comments
Β (0)