Skip to content

exercises: minor edits #29

exercises: minor edits

exercises: minor edits #29

Workflow file for this run

name: Spellcheck and markdown lint
# Checks the markdown course material on every pull request, and on every push
# to "main".
#
# The checks can be run locally with:
# * npx markdownlint-cli2 "**/*.md"
# * npx cspell "**/*.md"
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
# Cancel a running check when new commits are pushed to the same branch.
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Spellcheck and markdown lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "24"
- name: Run cspell
run: npx --yes cspell --no-progress "**/*.md"
- name: Run markdownlint
run: npx --yes markdownlint-cli2 "**/*.md"