Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
edwardtheharris committed Jul 23, 2024
1 parent c4cbd19 commit 5a8f517
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,13 @@ jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up NodeJS
uses: actions/setup-node@main
- name: Install the checker
run: npm i -g markdownlint-cli2 markdownlint-cli2-formatter-junit --save-dev
- name: Lint the Markdown
run: markdownlint-cli2 "*.md" "**/*.md"
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v16
with:
files: markdownlint-cli2-junit.xml
globs: |
*.md
**/*.md
!.venv/
###
# ```{rubric} Build GitHub Pages Site
# ```
Expand Down
3 changes: 1 addition & 2 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ noProgress: false
###
# Use a specific formatter (only valid at root)
outputFormatters:
-
- markdownlint-cli2-formatter-default
- - markdownlint-cli2-formatter-default
- markdownlint-cli2-formatter-junit
###
# Show found files on stdout (only valid at root)
Expand Down

0 comments on commit 5a8f517

Please sign in to comment.