Skip to content

[pre-commit.ci] pre-commit autoupdate #325

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #325

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
docs:
name: Build docs and check links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: pandoc/actions/setup@86321b6dd4675f5014c611e05088e10d4939e09e # v1.1.1
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
# Keep in sync with .readthedocs.yaml
python-version-file: .python-version
- name: Install plantuml
run: |
sudo apt install plantuml
- name: Setup cached uv
uses: hynek/setup-cached-uv@4300ec2180bc77d705e626a34e381b81a4772c51 # v2.5.0
- name: Create venv and install docs dependencies
run: |
uv venv
echo "$PWD/.venv/bin" >> $GITHUB_PATH
uv pip install --group=docs
- name: Build HTML and check links
run: |
uv run make html
uv run make linkcheck
working-directory: docs/