chore(deps): bump astral-sh/setup-uv from 4 to 6 in the actions group
Bumps the actions group with 1 update: astral-sh/setup-uv.
Updates astral-sh/setup-uv from 4 to 6
Release notes
Sourced from astral-sh/setup-uv's releases.
v6.0.0 🌈 activate-environment and working-directory
Changes
This version contains some breaking changes which have been gathering up for a while. Lets dive into them:
- Activate environment
- Working Directory
- Default
cache-dependency-glob- Use default cache dir on self hosted runners
Activate environment
In previous versions using the input
python-versionautomatically activated a venv at the repository root. This led to some unwanted side-effects, was sometimes unexpected and not flexible enough.The venv activation is now explicitly controlled with the new input
activate-environment(false by default):- name: Install the latest version of uv and activate the environment uses: astral-sh/setup-uv@v6 with: activate-environment: true - run: uv pip install pipThe venv gets created by the
uv venvcommand so the python version is controlled by thepython-versioninput or the filespyproject.toml,uv.toml,.python-versionin theworking-directory.Working Directory
The new input
working-directorycontrols where we look forpyproject.toml,uv.tomland.python-versionfiles which are used to determine the version of uv and python to install.It can also be used to control where the venv gets created.
- name: Install uv based on the config files in the working-directory uses: astral-sh/setup-uv@v6 with: working-directory: my/subproject/dir[!CAUTION]
The inputs
pyproject-fileanduv-filehave been removed.Default
cache-dependency-glob
@ssbarneafound out that the defaultcache-dependency-globwas not suitable for a lot of users.The old default
... (truncated)
Commits
6b9c606Bump dependencies (#389)ef6bcdfFix default cache dependency glob (#388)9a31171chore: update known checksums for 0.6.17 (#384)c7f87aabump to v6 in README (#382)aadfaf0Change default cache-dependency-glob (#352)a0f9da6No default UV_CACHE_DIR on selfhosted runners (#380)ec4c691new inputs activate-environment and working-directory (#381)aa12905chore: update known checksums for 0.6.16 (#378)fcadddachore: update known checksums for 0.6.15 (#377)fb3a0a9log info on venv activation (#375)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) -
@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) -
@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) -
@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency -
@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions