Fix build-docs workflow: use concrete Python version (#1444)

The setup-uv action passes python-version through as UV_PYTHON, and uv
does not accept the '3.x' wildcard that actions/setup-python supports.
This caused 'uv sync' to fail with:

    error: No interpreter found for executable name `3.x` in managed
    installations or search path

Pin to '3.12' to match requires-python and the version used in
app-tests.yml.

Co-authored-by: David Davis <86290+daviddavis@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
David Davis
2026-05-17 09:18:38 -04:00
committed by GitHub
parent e6765fa636
commit ecd86524e4

View File

@@ -22,7 +22,7 @@ jobs:
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: astral-sh/setup-uv@v7
with:
python-version: 3.x
python-version: "3.12"
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with: