Skip to content

feat: add markdownlint linting to CI #4

feat: add markdownlint linting to CI

feat: add markdownlint linting to CI #4

Workflow file for this run

name: Code Quality
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions: {}
concurrency:
group: code-quality-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff==0.15.11
- name: Ruff lint
run: ruff check . --output-format=github
- name: Ruff format check
run: ruff format --check .
- name: Markdownlint
uses: DavidAnson/markdownlint-cli2-action@ce4853d43830c74c1753b39f3cf40f71c2031eb9 # v23.0.0
with:
globs: "**/*.md"