servo/.github/actions/setup-python/action.yml
Jonathan Schwender d01bba4e50
ci: bump uv version (#38494)
Bumps uv in CI to 0.8.5

Testing: try run:
https://github.com/servo/servo/actions/runs/16782161133

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-09-02 05:24:26 +00:00

24 lines
754 B
YAML

name: Setup Python and uv
inputs:
python-version-file-path:
required: false
description: "Path to the the .python-version file"
default: '.python-version'
skip-python-setup:
required: false
description: "Whether to skip installing python using Github's `setup-python` action"
default: false
runs:
using: "composite"
steps:
# Use the setup-python action to take advantage of the cache. uv will
# symlink to this version.
- name: Setup system python
if: ${{ inputs.skip-python-setup != 'true' }}
uses: actions/setup-python@v5
with:
python-version-file: ${{ inputs.python-version-file-path }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.8.5"