Skip to content

Commit 3a2210a

Browse files
edenreichclaude
andcommitted
ci: Add markdownlint to CI workflow
- Add markdownlint-cli installation and run step - Ignore CHANGELOG.md (auto-generated) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a549857 commit 3a2210a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
with:
3434
node-version: "lts/*"
3535

36+
- name: Install markdownlint-cli
37+
run: npm install -g markdownlint-cli
38+
39+
- name: Run markdownlint
40+
run: markdownlint '**/*.md' --ignore CHANGELOG.md
41+
3642
- name: Tidy Go modules
3743
run: find . -name 'go.mod' -execdir go mod tidy \;
3844

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ tasks:
5151
lint:md:
5252
desc: Run markdownlint
5353
cmds:
54-
- markdownlint '**/*.md' --ignore node_modules
54+
- markdownlint '**/*.md' --ignore CHANGELOG.md
5555

5656
mod:
5757
desc: Download dependencies

0 commit comments

Comments
 (0)