Group dependabot updates #693
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: Build docs | |
| permissions: | |
| contents: read | |
| on: [pull_request] | |
| env: | |
| UV_FROZEN: true # https://docs.astral.sh/uv/configuration/environment/#uv_frozen | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.14' ] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: install pandoc | |
| run: sudo apt-get update && sudo apt-get install -y pandoc | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| enable-cache: true | |
| prune-cache: false | |
| python-version: ${{ matrix.python-version }} | |
| - name: Build docs | |
| run: | | |
| uv sync --extra doc | |
| uv run python -m ipykernel install --user | |
| uv run sphinx-build -c docs/source/ -b html docs/source/ docs/build/html -W |