Skip to content

ci: add markdown lint and link validation #3

ci: add markdown lint and link validation

ci: add markdown lint and link validation #3

Workflow file for this run

name: Markdown Checks
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
markdownlint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: markdownlint
uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: "**/*.md"
link-check:
name: Link Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check links
uses: lycheeverse/lychee-action@v2
with:
args: >
--verbose
--no-progress
--timeout 30
--retry-wait-time 5
--max-retries 3
--exclude "mailto:"
"**/*.md"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}