Skip to content

feat(practice): mock exams + auto-rebuild on cert markdown edits (931 q / 18 banks) #53

feat(practice): mock exams + auto-rebuild on cert markdown edits (931 q / 18 banks)

feat(practice): mock exams + auto-rebuild on cert markdown edits (931 q / 18 banks) #53

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'
env:
# Opt into Node.js 24 for all JavaScript actions ahead of the June 2026
# deprecation deadline. Eliminates the "Node.js 20 actions are deprecated"
# annotations and lets us keep using current action versions until each
# vendor publishes a Node-24-native release.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
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 }}