Skip to content

feat(practice): adaptive practice quiz — static site + 3 cert banks (198 questions) #16

feat(practice): adaptive practice quiz — static site + 3 cert banks (198 questions)

feat(practice): adaptive practice quiz — static site + 3 cert banks (198 questions) #16

Workflow file for this run

name: Lint
on:
pull_request:
paths:
- '**/*.md'
- '.markdownlint.json'
- '.markdownlint-cli2.jsonc'
- 'lychee.toml'
- '.github/workflows/lint.yml'
push:
branches: [main]
paths:
- '**/*.md'
- '.markdownlint.json'
- '.markdownlint-cli2.jsonc'
- 'lychee.toml'
- '.github/workflows/lint.yml'
permissions:
contents: read
jobs:
markdownlint:
name: Markdown style (markdownlint-cli2)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run markdownlint-cli2
uses: DavidAnson/markdownlint-cli2-action@v19
with:
config: '.markdownlint-cli2.jsonc'
link-check:
name: Internal link integrity (lychee)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Restore lychee cache
uses: actions/cache@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Run lychee
uses: lycheeverse/lychee-action@v2
with:
args: --no-progress --config lychee.toml './**/*.md'
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}