Skip to content

ci(action): update astral-sh/setup-uv action to v4.2.0#12

Merged
descope[bot] merged 1 commit intomainfrom
renovate/astral-sh-setup-uv-4.x
Jan 25, 2026
Merged

ci(action): update astral-sh/setup-uv action to v4.2.0#12
descope[bot] merged 1 commit intomainfrom
renovate/astral-sh-setup-uv-4.x

Conversation

@descope
Copy link
Contributor

@descope descope bot commented Jan 25, 2026

This PR contains the following updates:

Package Type Update Change OpenSSF
astral-sh/setup-uv action minor v4 -> v4.2.0 OpenSSF Scorecard

Release Notes

astral-sh/setup-uv (astral-sh/setup-uv)

v4.2.0: 🌈 Resolve latest version instead of downloading latest release

Compare Source

Changes

We got a frist contribution from @​pollenjp!

Thanks to this we are now resolving the latest version and try to find it in the local cache instead of always downloading the latest release from the uv repository.
This new approach is not only more efficient, it also fixes a latent bug in the self-hosted runners tools cache and makes the code more maintainable.

Thank you @​pollenjp!

🚀 Enhancements
🧰 Maintenance

v4.1.0: 🌈 Set UV_PYTHON for your workflow

Compare Source

Changes

You can now use the input python-version to set the environment variable UV_PYTHON for the rest of your workflow.
This will override any python version specifications in pyproject.toml and .python-version

- name: Install the latest version of uv and set the python version to 3.12
  uses: astral-sh/setup-uv@v4
  with:
    python-version: "3.12"

You can combine this with a matrix to test multiple python versions:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.9", "3.10", "3.11", "3.12"]
    steps:
      - uses: actions/checkout@v4
      - name: Install the latest version of uv and set the python version
        uses: astral-sh/setup-uv@v4
        with:
          python-version: ${{ matrix.python-version }}
      - name: Test with python ${{ matrix.python-version }}
        run: uv run --frozen pytest
🚀 Enhancements
🧰 Maintenance
📚 Documentation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@descope descope bot added the renovate label Jan 25, 2026
@descope descope bot enabled auto-merge (squash) January 25, 2026 10:41
@descope descope bot added the renovate label Jan 25, 2026
descope-approve[bot]
descope-approve bot previously approved these changes Jan 25, 2026
@descope descope bot merged commit 85d74bd into main Jan 25, 2026
21 checks passed
@descope descope bot deleted the renovate/astral-sh-setup-uv-4.x branch January 25, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants