Skip to content

Merge pull request #48 from hed-standard/dependabot/github_actions/ma… #78

Merge pull request #48 from hed-standard/dependabot/github_actions/ma…

Merge pull request #48 from hed-standard/dependabot/github_actions/ma… #78

Workflow file for this run

---
name: Mdformat
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
mdformat:
name: Markdown formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
with:
python-version: '3.12'
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"
- name: Run mdformat (check only)
run: uvx --with mdformat-myst mdformat --check --wrap no --number docs/ *.md