summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-10 22:36:42 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-10 22:36:42 +0300
commit872c0e99443ef9790851174bc2434dff90f77945 (patch)
tree4154282e204708bfbca9587b33dc9cd7818c0868 /docker
parente39d9b2c79f7f1c06004d551f3c22f5d866e401a (diff)
downloadvyos-documentation-872c0e99443ef9790851174bc2434dff90f77945.tar.gz
vyos-documentation-872c0e99443ef9790851174bc2434dff90f77945.zip
ci: use setup-uv to install Python 3.12 on Debian 12
actions/setup-python's prebuilt manifest at actions/python-versions ships 3.12 for Ubuntu but not for Debian 12. The vyos web- runner pool runs Debian 12, so the previous setup-python@v6 step failed with: "##[error]The version '3.12' with architecture 'x64' was not found for Debian 12." Replacing the step with astral-sh/setup-uv@v8.1.0 (SHA-pinned). uv provisions Python from Astral's cross-platform standalone builds, which work on Debian. Setting `python-version: '3.12'` triggers `uv python install`; `activate-environment: true` creates a venv at $GITHUB_WORKSPACE/.venv and prepends its bin/ to PATH so the `vyos-doc-review` CLI installed by uv pip install is callable without further configuration. Replaces `pip install` with `uv pip install` to use the venv that setup-uv activated. Same change being applied to .github/workflows/rebuild-reference.yml and .github/workflows/full-scan.yml in vyos-docs-opus-reviewer PR #13 (canonical scripts/ai-validation.yml will re-sync from this file). 🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docker')
0 files changed, 0 insertions, 0 deletions