build(deps): update astral-sh/setup-uv action to v8 (main)
Metadata
Current evaluation
Merged automated dependency update upgrading astral-sh/setup-uv action from v7 to v8.1.0. Approved by reviewers, passed CI checks, and automatically merged into main by Renovate.
Suggested action: β
No scores available.
Issue body
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | major | `v7` β `v8.1.0` |
---
### Release Notes
<details>
<summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary>
### [`v8.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v8.1.0): π New input `no-project`
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.0.0...v8.1.0)
#### Changes
This add the a new boolean input `no-project`.
It only makes sense to use in combination with `activate-environment: true` and will append `--no project` to the `uv venv` call. This is for example useful [if you have a pyproject.toml file with parts unparseable by uv](https://redirect.github.com/astral-sh/setup-uv/issues/854)
#### π Enhancements
- Add input no-project in combination with activate-environment [@​eifinger](https://redirect.github.com/eifinger) ([#​856](https://redirect.github.com/astral-sh/setup-uv/issues/856))
#### π§° Maintenance
- fix: grant contents:write to validate-release job [@​eifinger](https://redirect.github.com/eifinger) ([#​860](https://redirect.github.com/astral-sh/setup-uv/issues/860))
- Add a release-gate step to the release workflow [@​zanieb](https://redirect.github.com/zanieb) ([#​859](https://redirect.github.com/astral-sh/setup-uv/issues/859))
- Draft commitish releases [@​eifinger](https://redirect.github.com/eifinger) ([#​858](https://redirect.github.com/astral-sh/setup-uv/issues/858))
- Add action-types.yml to instructions [@​eifinger](https://redirect.github.com/eifinger) ([#​857](https://redirect.github.com/astral-sh/setup-uv/issues/857))
- chore: update known checksums for 0.11.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​853](https://redirect.github.com/astral-sh/setup-uv/issues/853))
- Refactor version resolving [@​eifinger](https://redirect.github.com/eifinger) ([#​852](https://redirect.github.com/astral-sh/setup-uv/issues/852))
- chore: update known checksums for 0.11.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​850](https://redirect.github.com/astral-sh/setup-uv/issues/850))
- chore: update known checksums for 0.11.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​845](https://redirect.github.com/astral-sh/setup-uv/issues/845))
- chore: update known checksums for 0.11.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​843](https://redirect.github.com/astral-sh/setup-uv/issues/843))
- Add a release workflow [@​zanieb](https://redirect.github.com/zanieb) ([#​839](https://redirect.github.com/astral-sh/setup-uv/issues/839))
- chore: update known checksums for 0.11.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​836](https://redirect.github.com/astral-sh/setup-uv/issues/836))
#### π Documentation
- Update ignore-nothing-to-cache documentation [@​eifinger](https://redirect.github.com/eifinger) ([#​833](https://redirect.github.com/astral-sh/setup-uv/issues/833))
- Pin setup-uv docs to v8 [@​eifinger](https://redirect.github.com/eifinger) ([#​829](https://redirect.github.com/astral-sh/setup-uv/issues/829))
#### β¬οΈ Dependency updates
- chore(deps): bump release-drafter/release-drafter from 7.1.1 to 7.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​855](https://redirect.github.com/astral-sh/setup-uv/issues/855))
### [`v8.0.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v8.0.0): π Immutable releases and secure tags
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.6.0...v8.0.0)
##### This is the first immutable release of `setup-uv` π₯³
All future releases are also immutable, if you want to know more about what this means checkout [the docs](https://docs.github.com/en/code-security/concepts/supply-chain-security/immutable-releases).
This release also has two breaking changes
##### New format for `manifest-file`
The previously deprecated way of defining a custom version manifest to control which `uv` versions are available and where to download them from got removed. The functionality is still there but you have to use the [new format](https://redirect.github.com/astral-sh/setup-uv/blob/main/docs/customization.md#format).
##### No more major and minor tags
To increase **security** even more we will **stop publishing minor tags**. You won't be able to use `@v8` or `@v8.0` any longer. We do this because pinning to major releases opens up users to supply chain attacks like what happened to [tj-actions](https://unit42.paloaltonetworks.com/github-actions-supply-chain-attack/).
> \[!TIP]
> Use the immutable tag as a version `astral-sh/setup-uv@v8.0.0`
> Or even better the githash `astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57`
##### π¨ Breaking changes
- Remove update-major-minor-tags workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​826](https://redirect.github.com/astral-sh/setup-uv/issues/826))
- Remove deprecrated custom manifest [@​eifinger](https://redirect.github.com/eifinger) ([#​813](https://redirect.github.com/astral-sh/setup-uv/issues/813))
##### π§° Maintenance
- Shortcircuit latest version from manifest [@​eifinger](https://redirect.github.com/eifinger) ([#​828](https://redirect.github.com/astral-sh/setup-uv/issues/828))
- Simplify inputs.ts [@​eifinger](https://redirect.github.com/eifinger) ([#​827](https://redirect.github.com/astral-sh/setup-uv/issues/827))
- Bump release-drafter to v7.1.1 [@​eifinger](https://redirect.github.com/eifinger) ([#​825](https://redirect.github.com/astral-sh/setup-uv/issues/825))
- Refactor inputs [@​eifinger](https://redirect.github.com/eifinger) ([#​823](https://redirect.github.com/astral-sh/setup-uv/issues/823))
- Replace inline compile args with tsconfig [@​eifinger](https://redirect.github.com/eifinger) ([#​824](https://redirect.github.com/astral-sh/setup-uv/issues/824))
- chore: update known checksums for 0.11.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​821](https://redirect.github.com/astral-sh/setup-uv/issues/821))
- chore: update known checksums for 0.11.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​817](https://redirect.github.com/astral-sh/setup-uv/issues/817))
- chore: update known checksums for 0.11.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​815](https://redirect.github.com/astral-sh/setup-uv/issues/815))
- Fix latest-version workflow check [@​eifinger](https://redirect.github.com/eifinger) ([#​812](https://redirect.github.com/astral-sh/setup-uv/issues/812))
- chore: update known checksums for 0.10.11/0.10.12 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​811](https://redirect.github.com/astral-sh/setup-uv/issues/811))
### [`v7.6`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.5...v7.6)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.6.0...v7.6.0)
### [`v7.6.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.6.0): π Fetch uv from Astral's mirror by default
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.5.0...v7.6.0)
##### Changes
We now default to download uv from `releases.astral.sh`.
This means by default we don't hit the GitHub API at all and shouldn't see any rate limits and timeouts any more.
##### π Enhancements
- Fetch uv from Astral's mirror by default [@​zsol](https://redirect.github.com/zsol) ([#​809](https://redirect.github.com/astral-sh/setup-uv/issues/809))
##### π§° Maintenance
- Switch to ESM for source and test, use CommonJS for dist [@​eifinger](https://redirect.github.com/eifinger) ([#​806](https://redirect.github.com/astral-sh/setup-uv/issues/806))
- chore: update known checksums for 0.10.10 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​804](https://redirect.github.com/astral-sh/setup-uv/issues/804))
##### β¬οΈ Dependency updates
- chore(deps): bump zizmorcore/zizmor-action from 0.5.0 to 0.5.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​808](https://redirect.github.com/astral-sh/setup-uv/issues/808))
- Bump deps [@​eifinger](https://redirect.github.com/eifinger) ([#​805](https://redirect.github.com/astral-sh/setup-uv/issues/805))
### [`v7.5`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4...v7.5)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.5.0...v7.5.0)
### [`v7.5.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.5.0): π Use `astral-sh/versions` as version provider
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4.0...v7.5.0)
##### No more rate-limits
This release addresses a long-standing source of timeouts and rate-limit failures in setup-uv.
Previously, the action resolved version identifiers like 0.5.x by iterating over available uv releases via the GitHub API to find the best match. In contrast, latest and exact versions such as 0.5.0 skipped version resolution entirely and downloaded uv directly.
The `manifest-file` input was an earlier attempt to improve this. It allows providing an url to a file that lists available versions, checksums, and even custom download URLs. The action also shipped with such a manifest.
However, because that bundled file could become outdated whenever new uv releases were published, the action still had to fall back to the GitHub API in many cases.
This release solves the problem by sourcing version data from Astralβs versions repository via the raw content endpoint:
<https://raw.githubusercontent.com/astral-sh/versions/refs/heads/main/v1/uv.ndjson>
By using the raw endpoint instead of the GitHub API, version resolution no longer depends on API authentication and is much less likely to run into rate limits or timeouts.
***
> \[!TIP]
> The next section is only interesting for users of the `manifest-file` input
The `manifest-file` input lets you override that source with your own URL, for example to test custom uv builds or alternate download locations.
The manifest file must be in NDJSON format, where each line is a JSON object representing a version and its artifacts. For example:
```json
{"version":"0.10.7","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://example.com/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"..."}]}
{"version":"0.10.6","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://example.com/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"..."}]}
```
> \[!WARNING]\
> The old format still works but is deprecated. A warning will be logged when you use it.
##### Changes
- docs: replace copilot instructions with AGENTS.md [@​eifinger](https://redirect.github.com/eifinger) ([#​794](https://redirect.github.com/astral-sh/setup-uv/issues/794))
##### π Enhancements
- Use astral-sh/versions as primary version provider [@​eifinger](https://redirect.github.com/eifinger) ([#​802](https://redirect.github.com/astral-sh/setup-uv/issues/802))
##### π Documentation
- docs: add cross-client dependabot rollup skill [@​eifinger](https://redirect.github.com/eifinger) ([#​793](https://redirect.github.com/astral-sh/setup-uv/issues/793))
### [`v7.4`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3...v7.4)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4.0...v7.4.0)
### [`v7.4.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.4.0): π Add riscv64 architecture support to platform detection
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3.1...v7.4.0)
##### Changes
Thank you [@​luhenry](https://redirect.github.com/luhenry) for adding support for riscv64 arch
##### π Enhancements
- Add riscv64 architecture support to platform detection [@​luhenry](https://redirect.github.com/luhenry) ([#​791](https://redirect.github.com/astral-sh/setup-uv/issues/791))
##### π§° Maintenance
- Delete .github/workflows/dependabot-build.yml [@​eifinger](https://redirect.github.com/eifinger) ([#​789](https://redirect.github.com/astral-sh/setup-uv/issues/789))
- Harden Dependabot build workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​788](https://redirect.github.com/astral-sh/setup-uv/issues/788))
- Fix: check PR author instead of event sender for Dependabot detection [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​787](https://redirect.github.com/astral-sh/setup-uv/issues/787))
- chore: update known checksums for 0.10.9 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​783](https://redirect.github.com/astral-sh/setup-uv/issues/783))
- Add workflow to auto-build dist on Dependabot PRs [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​782](https://redirect.github.com/astral-sh/setup-uv/issues/782))
- chore: update known checksums for 0.10.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​779](https://redirect.github.com/astral-sh/setup-uv/issues/779))
- chore: update known checksums for 0.10.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​775](https://redirect.github.com/astral-sh/setup-uv/issues/775))
##### β¬οΈ Dependency updates
- chore(deps): bump versions [@​eifinger](https://redirect.github.com/eifinger) ([#​792](https://redirect.github.com/astral-sh/setup-uv/issues/792))
- Bump actions/setup-node from 6.2.0 to 6.3.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​790](https://redirect.github.com/astral-sh/setup-uv/issues/790))
- Bump eifinger/actionlint-action from 1.10.0 to 1.10.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​778](https://redirect.github.com/astral-sh/setup-uv/issues/778))
### [`v7.3.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.3.1): π fall back to VERSION_CODENAME when VERSION_ID is not available
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3...v7.3.1)
##### Changes
This release adds support for running in containers like `debian:testing` or `debian:unstable`
##### π Bug fixes
- fix: fall back to VERSION\_CODENAME when VERSION\_ID is not available [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​774](https://redirect.github.com/astral-sh/setup-uv/issues/774))
##### π§° Maintenance
- chore: update known checksums for 0.10.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​771](https://redirect.github.com/astral-sh/setup-uv/issues/771))
- chore: update known checksums for 0.10.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​770](https://redirect.github.com/astral-sh/setup-uv/issues/770))
- chore: update known checksums for 0.10.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​768](https://redirect.github.com/astral-sh/setup-uv/issues/768))
- chore: update known checksums for 0.10.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​767](https://redirect.github.com/astral-sh/setup-uv/issues/767))
- chore: update known checksums for 0.10.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​765](https://redirect.github.com/astral-sh/setup-uv/issues/765))
- chore: update known checksums for 0.10.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​764](https://redirect.github.com/astral-sh/setup-uv/issues/764))
##### β¬οΈ Dependency updates
- Bump github/codeql-action from 4.31.9 to 4.32.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​766](https://redirect.github.com/astral-sh/setup-uv/issues/766))
- Bump zizmorcore/zizmor-action from 0.4.1 to 0.5.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​763](https://redirect.github.com/astral-sh/setup-uv/issues/763))
### [`v7.3.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.3.0): π New features and bug fixes for activate-environment
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3...v7.3)
#### Changes
This release contains a few bug fixes and a new feature for the activate-environment functionality.
#### π Bug fixes
- fix: warn instead of error when no python to cache [@​eifinger](https://redirect.github.com/eifinger) ([#​762](https://redirect.github.com/astral-sh/setup-uv/issues/762))
- fix: use --clear to create venv [@​eifinger](https://redirect.github.com/eifinger) ([#​761](https://redirect.github.com/astral-sh/setup-uv/issues/761))
#### π Enhancements
- feat: add venv-path input for activate-environment [@​eifinger](https://redirect.github.com/eifinger) ([#​746](https://redirect.github.com/astral-sh/setup-uv/issues/746))
#### π§° Maintenance
- chore: update known checksums for 0.10.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​759](https://redirect.github.com/astral-sh/setup-uv/issues/759))
- refactor: tilde-expansion tests as unittests and no self-hosted tests [@​eifinger](https://redirect.github.com/eifinger) ([#​760](https://redirect.github.com/astral-sh/setup-uv/issues/760))
- chore: update known checksums for 0.9.30 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​756](https://redirect.github.com/astral-sh/setup-uv/issues/756))
- chore: update known checksums for 0.9.29 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​748](https://redirect.github.com/astral-sh/setup-uv/issues/748))
#### π Documentation
- Fix punctuation [@​pm-dev563](https://redirect.github.com/pm-dev563) ([#​747](https://redirect.github.com/astral-sh/setup-uv/issues/747))
#### β¬οΈ Dependency updates
- Bump typesafegithub/github-actions-typing from 2.2.1 to 2.2.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​753](https://redirect.github.com/astral-sh/setup-uv/issues/753))
- Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​751](https://redirect.github.com/astral-sh/setup-uv/issues/751))
- Bump actions/checkout from 6.0.1 to 6.0.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​740](https://redirect.github.com/astral-sh/setup-uv/issues/740))
- Bump release-drafter/release-drafter from 6.1.0 to 6.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​743](https://redirect.github.com/astral-sh/setup-uv/issues/743))
- Bump eifinger/actionlint-action from 1.9.3 to 1.10.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​731](https://redirect.github.com/astral-sh/setup-uv/issues/731))
- Bump actions/setup-node from 6.1.0 to 6.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​738](https://redirect.github.com/astral-sh/setup-uv/issues/738))
### [`v7.3`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2...v7.3)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2.1...v7.3)
### [`v7.2.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.2.1): π update known checksums up to 0.9.28
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2...v7.2.1)
##### Changes
##### π§° Maintenance
- chore: update known checksums for 0.9.28 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​744](https://redirect.github.com/astral-sh/setup-uv/issues/744))
- chore: update known checksums for 0.9.27 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​742](https://redirect.github.com/astral-sh/setup-uv/issues/742))
- chore: update known checksums for 0.9.26 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​734](https://redirect.github.com/astral-sh/setup-uv/issues/734))
- chore: update known checksums for 0.9.25 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​733](https://redirect.github.com/astral-sh/setup-uv/issues/733))
- chore: update known checksums for 0.9.24 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​730](https://redirect.github.com/astral-sh/setup-uv/issues/730))
##### π Documentation
- Clarify impact of using actions/setup-python [@​eifinger](https://redirect.github.com/eifinger) ([#​732](https://redirect.github.com/astral-sh/setup-uv/issues/732))
##### β¬οΈ Dependency updates
- Bump zizmorcore/zizmor-action from 0.3.0 to 0.4.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​741](https://redirect.github.com/astral-sh/setup-uv/issues/741))
### [`v7.2.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.2.0): π add outputs python-version and python-cache-hit
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2...v7.2)
##### Changes
Among some minor typo fixes and quality of life features for developers of actions the main feature of this release are new outputs:
- **python-version:** The Python version that was set (same content as existing `UV_PYTHON`)
- **python-cache-hit:** A boolean value to indicate the Python cache entry was found
While implementing this it became clear, that it is easier to handle the Python binaries in a separate cache entry. The added benefit for users is that the "normal" cache containing the dependencies can be used in all runs no matter if these cache the Python binaries or not.
> \[!NOTE]\
> This release will invalidate caches that contain the Python binaries. This happens a single time.
##### π Bug fixes
- chore: remove stray space from UV\_PYTHON\_INSTALL\_DIR message [@​akx](https://redirect.github.com/akx) ([#​720](https://redirect.github.com/astral-sh/setup-uv/issues/720))
##### π Enhancements
- add outputs python-version and python-cache-hit [@​eifinger](https://redirect.github.com/eifinger) ([#​728](https://redirect.github.com/astral-sh/setup-uv/issues/728))
- Add action typings with validation [@​krzema12](https://redirect.github.com/krzema12) ([#​721](https://redirect.github.com/astral-sh/setup-uv/issues/721))
##### π§° Maintenance
- fix: use uv\_build backend for old-python-constraint-project [@​eifinger](https://redirect.github.com/eifinger) ([#​729](https://redirect.github.com/astral-sh/setup-uv/issues/729))
- chore: update known checksums for 0.9.22 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​727](https://redirect.github.com/astral-sh/setup-uv/issues/727))
- chore: update known checksums for 0.9.21 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​726](https://redirect.github.com/astral-sh/setup-uv/issues/726))
- chore: update known checksums for 0.9.20 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​725](https://redirect.github.com/astral-sh/setup-uv/issues/725))
- chore: update known checksums for 0.9.18 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​718](https://redirect.github.com/astral-sh/setup-uv/issues/718))
##### β¬οΈ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​719](https://redirect.github.com/astral-sh/setup-uv/issues/719))
- Bump github/codeql-action from 4.31.6 to 4.31.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​723](https://redirect.github.com/astral-sh/setup-uv/issues/723))
### [`v7.2`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1...v7.2)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.6...v7.2)
### [`v7.1.6`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.6): π add OS version to cache key to prevent binary incompatibility
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.5...v7.1.6)
##### Changes
This release will invalidate your cache existing keys!
The os version e.g. `ubuntu-22.04` is now part of the cache key. This prevents failing builds when a cache got populated with wheels built with different tools (e.g. glibc) than are present on the runner where the cache got restored.
##### π Bug fixes
- feat: add OS version to cache key to prevent binary incompatibility [@​eifinger](https://redirect.github.com/eifinger) ([#​716](https://redirect.github.com/astral-sh/setup-uv/issues/716))
##### π§° Maintenance
- chore: update known checksums for 0.9.17 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​714](https://redirect.github.com/astral-sh/setup-uv/issues/714))
##### β¬οΈ Dependency updates
- Bump actions/checkout from 5.0.0 to 6.0.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​712](https://redirect.github.com/astral-sh/setup-uv/issues/712))
- Bump actions/setup-node from 6.0.0 to 6.1.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​715](https://redirect.github.com/astral-sh/setup-uv/issues/715))
### [`v7.1.5`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.5): π allow setting `cache-local-path` without `enable-cache: true`
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.4...v7.1.5)
##### Changes
[#​612](https://redirect.github.com/astral-sh/setup-uv/pull/612) fixed a faulty behavior where this action set `UV_CACHE_DIR` even though `enable-cache` was `false`. It also fixed the cases were the cache dir is already configured in a settings file like `pyproject.toml` or `UV_CACHE_DIR` was already set. Here the action shouldn't overwrite or set `UV_CACHE_DIR`.
These fixes introduced an unwanted behavior: You can still set `cache-local-path` but this action didn't do anything. This release fixes that.
You can now use `cache-local-path` to automatically set `UV_CACHE_DIR` even when `enable-cache` is `false` (or gets set to false by default e.g. on self-hosted runners)
```yaml
- name: This is now possible
uses: astral-sh/setup-uv@v7
with:
enable-cache: false
cache-local-path: "/path/to/cache"
```
##### π Bug fixes
- allow cache-local-path w/o enable-cache [@​eifinger](https://redirect.github.com/eifinger) ([#​707](https://redirect.github.com/astral-sh/setup-uv/issues/707))
##### π§° Maintenance
- set biome files.maxSize to 2MiB [@​eifinger](https://redirect.github.com/eifinger) ([#​708](https://redirect.github.com/astral-sh/setup-uv/issues/708))
- chore: update known checksums for 0.9.16 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​706](https://redirect.github.com/astral-sh/setup-uv/issues/706))
- chore: update known checksums for 0.9.15 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​704](https://redirect.github.com/astral-sh/setup-uv/issues/704))
- chore: use `npm ci --ignore-scripts` everywhere [@​woodruffw](https://redirect.github.com/woodruffw) ([#​699](https://redirect.github.com/astral-sh/setup-uv/issues/699))
- chore: update known checksums for 0.9.14 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​700](https://redirect.github.com/astral-sh/setup-uv/issues/700))
- chore: update known checksums for 0.9.13 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​694](https://redirect.github.com/astral-sh/setup-uv/issues/694))
- chore: update known checksums for 0.9.12 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​693](https://redirect.github.com/astral-sh/setup-uv/issues/693))
- chore: update known checksums for 0.9.11 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​688](https://redirect.github.com/astral-sh/setup-uv/issues/688))
##### β¬οΈ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​695](https://redirect.github.com/astral-sh/setup-uv/issues/695))
- bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​709](https://redirect.github.com/astral-sh/setup-uv/issues/709))
- Bump github/codeql-action from 4.30.9 to 4.31.6 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​698](https://redirect.github.com/astral-sh/setup-uv/issues/698))
- Bump zizmorcore/zizmor-action from 0.2.0 to 0.3.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​696](https://redirect.github.com/astral-sh/setup-uv/issues/696))
- Bump eifinger/actionlint-action from 1.9.2 to 1.9.3 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​690](https://redirect.github.com/astral-sh/setup-uv/issues/690))
### [`v7.1.4`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.4): π Fix libuv closing bug on Windows
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.3...v7.1.4)
##### Changes
This release fixes the bug `Assertion failed: !(handle->flags & UV_HANDLE_CLOSING)` on Windows runners
##### π Bug fixes
- Wait 50ms before exit to fix libuv bug [@​eifinger](https://redirect.github.com/eifinger) ([#​689](https://redirect.github.com/astral-sh/setup-uv/issues/689))
##### π§° Maintenance
- chore: update known checksums for 0.9.10 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​681](https://redirect.github.com/astral-sh/setup-uv/issues/681))
- chore: update known checksums for 0.9.9 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​679](https://redirect.github.com/astral-sh/setup-uv/issues/679))
### [`v7.1.3`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.3): π Support act
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.2...v7.1.3)
##### Changes
This bug fix release adds support for <https://github.com/nektos/act>
It was previously broken because of a too new `undici` version and TS transpilation target.
Compatibility with act is now automatically tested.
##### π Bug fixes
- use old undici and ES2022 target for act support [@​eifinger](https://redirect.github.com/eifinger) ([#​678](https://redirect.github.com/astral-sh/setup-uv/issues/678))
##### π§° Maintenance
- chore: update known checksums for 0.9.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​677](https://redirect.github.com/astral-sh/setup-uv/issues/677))
- chore: update known checksums for 0.9.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​671](https://redirect.github.com/astral-sh/setup-uv/issues/671))
- chore: update known checksums for 0.9.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​670](https://redirect.github.com/astral-sh/setup-uv/issues/670))
##### π Documentation
- Correct description of `cache-dependency-glob` [@​allanlewis](https://redirect.github.com/allanlewis) ([#​676](https://redirect.github.com/astral-sh/setup-uv/issues/676))
### [`v7.1.2`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.2): π Speed up extraction on Windows
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.1...v7.1.2)
#### Changes
[@​lazka](https://redirect.github.com/lazka) fixed a bug that caused extracting uv to take up to 30s. Thank you!
#### π Bug fixes
- Use tar for extracting the uv zip file on Windows too [@​lazka](https://redirect.github.com/lazka) ([#​660](https://redirect.github.com/astral-sh/setup-uv/issues/660))
#### π§° Maintenance
- chore: update known checksums for 0.9.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​663](https://redirect.github.com/astral-sh/setup-uv/issues/663))
#### β¬οΈ Dependency updates
- Bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​664](https://redirect.github.com/astral-sh/setup-uv/issues/664))
- Bump github/codeql-action from 4.30.8 to 4.30.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​652](https://redirect.github.com/astral-sh/setup-uv/issues/652))
### [`v7.1.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.1): π Fix empty workdir detection and lowest resolution strategy
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1...v7.1.1)
##### Changes
This release fixes a bug where the `working-directory` input was not used to detect an empty work dir. It also fixes the `lowest` resolution strategy resolving to latest when only a lower bound was specified.
Special thanks to [@​tpgillam](https://redirect.github.com/tpgillam) for the first contribution!
##### π Bug fixes
- Fix "lowest" resolution strategy with lower-bound only [@​tpgillam](https://redirect.github.com/tpgillam) ([#​649](https://redirect.github.com/astral-sh/setup-uv/issues/649))
- Use working-directory to detect empty workdir [@​eifinger](https://redirect.github.com/eifinger) ([#​645](https://redirect.github.com/astral-sh/setup-uv/issues/645))
##### π§° Maintenance
- chore: update known checksums for 0.9.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​651](https://redirect.github.com/astral-sh/setup-uv/issues/651))
- chore: update known checksums for 0.9.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​644](https://redirect.github.com/astral-sh/setup-uv/issues/644))
##### π Documentation
- Change version in docs to v7 [@​eifinger](https://redirect.github.com/eifinger) ([#​647](https://redirect.github.com/astral-sh/setup-uv/issues/647))
##### β¬οΈ Dependency updates
- Bump github/codeql-action from 4.30.7 to 4.30.8 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​639](https://redirect.github.com/astral-sh/setup-uv/issues/639))
- Bump actions/setup-node from 5.0.0 to 6.0.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​641](https://redirect.github.com/astral-sh/setup-uv/issues/641))
- Bump eifinger/actionlint-action from 1.9.1 to 1.9.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​634](https://redirect.github.com/astral-sh/setup-uv/issues/634))
- Update lockfile with latest npm [@​eifinger](https://redirect.github.com/eifinger) ([#​636](https://redirect.github.com/astral-sh/setup-uv/issues/636))
### [`v7.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.0): π Support all the use cases
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1...v7.1)
#### Changes
**Support all the use cases!!!**
... well, that we know of.
This release adds support for some use cases that most users don't encounter but are useful for e.g. people running Gitea.
The input `resolution-strategy` lets you use the lowest possible version of uv from a version range. Useful if you want to test your tool with different versions of uv.
If you use `activate-environment` the path to the activated venv is now also exposed under the output `venv`.
Downloaded python installations can now also be uploaded to the GitHub Actions cache backend. Useful if you are running in `act` and have configured your own backend and don't want to download python again, and again over a slow internet connection.
Finally the path to installed python interpreters is now added to the `PATH` on Windows.
#### π Enhancements
- Add resolution-strategy input to support oldest compatible version selection @​[copilot-swe-agent\[bot\]](https://redirect.github.com/apps/copilot-swe-agent) ([#​631](https://redirect.github.com/astral-sh/setup-uv/issues/631))
- Add value of UV\_PYTHON\_INSTALL\_DIR to path [@​eifinger](https://redirect.github.com/eifinger) ([#​628](https://redirect.github.com/astral-sh/setup-uv/issues/628))
- Set output venv when activate-environment is used [@​eifinger](https://redirect.github.com/eifinger) ([#​627](https://redirect.github.com/astral-sh/setup-uv/issues/627))
- Cache python installs [@​merlinz01](https://redirect.github.com/merlinz01) ([#​621](https://redirect.github.com/astral-sh/setup-uv/issues/621))
#### π§° Maintenance
- Add copilot-instructions.md [@​eifinger](https://redirect.github.com/eifinger) ([#​630](https://redirect.github.com/astral-sh/setup-uv/issues/630))
- chore: update known checksums for 0.9.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​626](https://redirect.github.com/astral-sh/setup-uv/issues/626))
- chore: update known checksums for 0.9.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​625](https://redirect.github.com/astral-sh/setup-uv/issues/625))
- Fall back to PR for updating known versions [@​eifinger](https://redirect.github.com/eifinger) ([#​623](https://redirect.github.com/astral-sh/setup-uv/issues/623))
#### π Documentation
- Split up documentation [@​eifinger](https://redirect.github.com/eifinger) ([#​632](https://redirect.github.com/astral-sh/setup-uv/issues/632))
#### β¬οΈ Dependency updates
- Bump deps [@​eifinger](https://redirect.github.com/eifinger) ([#​633](https://redirect.github.com/astral-sh/setup-uv/issues/633))
- Bump github/codeql-action from 3.30.6 to 4.30.7 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​614](https://redirect.github.com/astral-sh/setup-uv/issues/614))
### [`v7.1`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.0...v7.1)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7...v7.1)
</details>
---
### Configuration
π
**Schedule**: (in timezone Etc/UTC)
- Branch creation
- "every weekend"
- 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/craft-artifacts).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJQUjogRGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | β | β | Merged automated dependency update upgrading astral-sh/setup-uv action from v7 to v8.1.0. Approved by reviewers, passed CI checks, and automatically merged into main by Renovate. | |
| qwen3.6-35b-a3b-mtp-q6 | β | β | Updated the astral-sh/setup-uv GitHub Action from v7 to v8.1.0 and merged into main. The automated Renovate bot handled the dependency bump, incorporating v8 breaking changes like immutable releases and a new manifest format, via automatic merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #43 build(deps): update astral-sh/setup-uv action to v7 | craft-artifacts | merged | Merged an automated dependency update upgrading the astral-sh/setup-uv GitHub Action from v6 to v7. Approved by two reviewers, all CI checks passed, and the change was automatically merged into the main branch. | |
| #92 build(deps): update github actions to v8.2.0 (main) | craft-artifacts | merged | Merged automated dependency update upgrading astral-sh/setup-uv GitHub Action from v8.1.0 to v8.2.0. Approved by two reviewers, cleared CI checks, and applied to main via Renovate automerge. | |
| #214 build(deps): update astral-sh/setup-uv action to v10 (main) - autoclosed | craft-grammar | merged | Merged into main after passing CI and two approvals. Updates astral-sh/setup-uv from v9.0.0 to v10.0.1, adding security hardening, a latest-known version selector, and disabling automatic caching for sensitive events. | |
| #2290 build(deps): update github actions (main) (major) | charmcraft | merged | Merged an automated dependency update by Renovate bot. Updated astral-sh/setup-uv to v6 and Node.js to v22 in GitHub Actions. Approved and automerged after CI checks passed. | |
| #413 build(deps): update astral-sh/setup-uv action to v10 (main) | craft-store | closed | Closed without merging. The dependency update was abandoned, and Renovate will ignore all future 10.x releases for this repository. | |
| #172 build(deps): update actions/download-artifact action to v8 (main) | craft-grammar | merged | Merged automated dependency update upgrading actions/download-artifact from v7 to v8. Approved by two reviewers, passed all CI checks, and merged into main. | |
| #578 build(deps): update github actions (main) (major) | starbase | merged | Merged automated dependency update for GitHub Actions. Renovate upgraded actions/setup-node to v7 and astral-sh/setup-uv to v9. Approved by one reviewer, passed all CI checks, and merged automatically with a two-line workflow change. | |
| #2062 build(deps): update github actions (main) (major) | charmcraft | merged | Merged automated GitHub Actions dependency updates. Renovate bot upgraded astral-sh/setup-uv to v5 and the Ubuntu runner to 24.04. Changes passed CI, received approvals, and were successfully merged. | |
| #417 build(deps): update setup-uv action to v10 | craft-store | merged | Merged upgrade of the setup-uv GitHub Action to v10. Supersedes PR #413 by resolving zizmor security audit warnings. Approved by two reviewers and passed CI checks prior to merge. | |
| #651 build(deps): update bugfixes (main) | craft-application | merged | Merged automated dependency updates via Renovate. Updated astral-sh/ruff-pre-commit to v0.9.7 and coverage to v7.6.12. Approved by two reviewers and passed CI checks before merging into main. |