⬆️ Bump ruff from 0.12.8 to 0.12.9 in the python-packages group #708
Workflow file for this run
This file contains hidden or 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: doc | |
on: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
python-version: "3.13" | |
jobs: | |
check-doc: | |
name: "Check documentation" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.python-version }} | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install graphix | |
run: pip install -e ".[dev,doc]" | |
- name: Make docs | |
run: sphinx-build -W docs/source docs/build -j auto | |
lint-text: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.python-version }} | |
- name: Run language-agnostic linters | |
run: | | |
pip install pre-commit | |
# Non-fixable | |
pre-commit run -a check-case-conflict | |
pre-commit run -a check-yaml | |
# Fixable | |
pre-commit run -a end-of-file-fixer || true | |
pre-commit run -a fix-byte-order-marker || true | |
pre-commit run -a mixed-line-ending || true | |
pre-commit run -a trailing-whitespace || true | |
- uses: actions/setup-node@v4 | |
- run: | | |
corepack enable pnpm | |
pnpm dlx prettier --write . | |
- uses: reviewdog/action-suggester@v1 | |
with: | |
tool_name: ":art: text-formatter" |