Unify all things CI to run on pull_request and merge_group #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Markdown | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
markdown-lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Setup Python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: 3.11 | |
- name: Setup uv | |
uses: astral-sh/setup-uv@c9aa747934b6867b18bf8f6624a8929c4f76147b # v3.1.4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: markdownlint | |
run: uv run --locked --only-dev pymarkdown scan . |