Skip to content

build(deps): bump astral-sh/setup-uv from 7.5.0 to 7.6.0 #110

build(deps): bump astral-sh/setup-uv from 7.5.0 to 7.6.0

build(deps): bump astral-sh/setup-uv from 7.5.0 to 7.6.0 #110

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
with:
version: "latest"
- name: Install the project
run: uv sync --group docs
- name: Generate docstring coverage badge
run: uv run docstr-coverage src --badge docs/source/_static
- name: Build Sphinx documentation
run: uv run sphinx-build docs/source/ docs/_build/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true