Skip to content

Commit c3d2250

Browse files
committed
integrate rumdl linting in github action pipeline
1 parent 260ae6f commit c3d2250

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ jobs:
6161
- name: check
6262
run: task check
6363

64+
- name: Publish Test Results
65+
if: always()
66+
uses: EnricoMi/publish-unit-test-result-action@v2
67+
with:
68+
files: "dist/md-lint-issues.xml"
69+
6470
- name: build
6571
run: task clean build
6672

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
hooks:
66

77
- id: markdownlint
8-
name: check:markdownlint
9-
entry: task check:markdownlint
8+
name: check:rumdl
9+
entry: task check:rumdl
1010
language: python
1111
pass_filenames: false

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ tasks:
5151
desc: Run complete test suite
5252
deps:
5353
- check:links
54+
- check:rumdl
5455

5556
check:links:
5657
desc: Check outgoing links

0 commit comments

Comments
 (0)