Skip to content

chore(deps): bump DavidAnson/markdownlint-cli2-action from 17 to 20 #202

chore(deps): bump DavidAnson/markdownlint-cli2-action from 17 to 20

chore(deps): bump DavidAnson/markdownlint-cli2-action from 17 to 20 #202

Workflow file for this run

name: Lint & Test
on:
push:
pull_request:
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Markdownlint
uses: DavidAnson/markdownlint-cli2-action@v20
with:
globs: "**/*.md !volumes/** !book/** !site/** !.github/ISSUE_TEMPLATE/** !.github/PULL_REQUEST_TEMPLATE.md"
# Markdown lint
- name: markdownlint
uses: DavidAnson/markdownlint-cli2-action@v20
with:
globs: "**/*.md !volumes/** !book/** !site/** !.github/ISSUE_TEMPLATE/** !.github/PULL_REQUEST_TEMPLATE.md"
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
# Use the stable major tag to avoid pinning a non-existent version
- name: Typos (spell check)
# Typos (spell-check)
uses: crate-ci/typos@v1
# Run pytest only if tests exist
- name: Setup Python
if: ${{ hashFiles('tests/**/*.py') != '' }}
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Run tests (if any)
if: ${{ hashFiles('tests/**/*.py') != '' }}
run: |
python -m pip install --upgrade pip
pip install pytest
pytest -q