build(deps): bump DavidAnson/markdownlint-cli2-action (#38) #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "**/*.md" | |
| - ".markdownlint-cli2.jsonc" | |
| - "scripts/check-links.mjs" | |
| - ".github/workflows/ci.yml" | |
| pull_request: | |
| paths: | |
| - "**/*.md" | |
| - ".markdownlint-cli2.jsonc" | |
| - "scripts/check-links.mjs" | |
| - ".github/workflows/ci.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| markdownlint: | |
| name: Lint markdown | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Run markdownlint-cli2 | |
| uses: DavidAnson/markdownlint-cli2-action@v24.1.0 | |
| # Rules and scope come from .markdownlint-cli2.jsonc. Soul files are | |
| # intentionally raw prose, so only link/reference integrity is enforced. | |
| links: | |
| name: Check relative links | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| - name: Verify relative links in maintained docs resolve | |
| run: node scripts/check-links.mjs |