name: Set up Python environment description: Install Python and uv, then sync the locked project environment. inputs: python-version: description: Python version to install. default: '3.12' runs: using: composite steps: - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: ${{ inputs.python-version }} - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2 with: enable-cache: true - run: uv sync --frozen --python "$PYTHON_VERSION" shell: bash env: PYTHON_VERSION: ${{ inputs.python-version }}