Releases: astral-sh/setup-uv
v3.1.1 🌈 update known checksums for 0.4.15
v3.1.0 🌈 Support for semver version ranges
You can now also use semver ranges to define the version of uv to install:
- name: Install a semver range of uv
uses: astral-sh/setup-uv@v3
with:
version: ">=0.3.0"
- name: Pinning a minor version of uv
uses: astral-sh/setup-uv@v3
with:
version: "0.3.x"
Learn more in the README
Changes
- Set tool(-bin) dir and add to PATH @eifinger (#87)
- Tweak the action branding @charliermarsh (#49)
🚀 Enhancements
🧰 Maintenance
- chore: update known checksums for 0.4.14 @github-actions (#94)
- chore: update known checksums for 0.4.13 @github-actions (#93)
- chore: update known checksums for 0.4.12 @github-actions (#86)
- chore: update known checksums for 0.4.11 @github-actions (#84)
📚 Documentation
- Fix a typo SHA265 → SHA256 @bswck-hai (#90)
- Update version in README from v2 to v3 @eifinger (#85)
- Fix prettier destroying markdown NOTE @eifinger (#80)
⬆️ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.3 to 7.0.5 @dependabot (#91)
- Bump eslint from 8.57.0 to 8.57.1 @dependabot (#81)
v3.0.0 🌈 Set the cache-dependency-glob default to `**/uv.lock`
Changes
With this release cache-dependency-glob
defaults to **/uv.lock
.
This is in line with what most users would expect and also mirrors the default behaviors for setup-python which use **/requirements.txt
, **/Pipfile.lock
or **/poetry.lock
.
The previous default led to the cache being created only once and never invalidated or updated even when the dependencies changed.
This change only affects you if you are using enable-cache: true
without specifying cache-dependency-glob
. The only behavioral change you might see is one time cache miss.
Learn more about cache-dependency-glob
in the README section.
🚨 Breaking changes
🧰 Maintenance
⬆️ Dependency updates
- Bump eslint-plugin-github from 5.0.1 to 5.0.2 @dependabot (#69)
- Bump typescript from 5.5.4 to 5.6.2 @dependabot (#64)
- Bump @types/node from 22.5.4 to 22.5.5 @dependabot (#74)
- Bump peter-evans/create-pull-request from 7.0.2 to 7.0.3 @dependabot (#75)
v2.1.2 🌈 update known checksums for 0.4.10
Changes
- fix example for multiple cache-dependency-glob without quote @hori-ryota (#67)
🧰 Maintenance
- chore: update known checksums for 0.4.10 @github-actions (#72)
⬆️ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.1 to 7.0.2 @dependabot (#71)
v2.1.1 🌈 use GitHub token by default
v2.1.0 🌈 Use D:\a\_tmp\setup-uv-cache as default cacheLocalPath on Windows
The default cacheLocalPath was /tmp/setup-uv-cache
which led to undefined behavior on Windows runners. On Windows the default is now D:\a_tmp\setup-uv-cache.
It is now also supported to supply a list of globs in cache-dependency-glob
. This aligns with the functionality of cache-dependency-path
in actions/setup-python
- name: Define a list of cache dependency globs
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
cache-dependency-glob: |
'**requirements*.txt'
'**pyproject.toml'
Changes
🐛 Bug fixes
🚀 Enhancements
🧰 Maintenance
- rename utils/utils.ts to constants.ts @eifinger (#59)
- chore: update known checksums for 0.4.7 @github-actions (#58)
- chore: update known checksums for 0.4.6 @github-actions (#55)
- Always run check-dist check @eifinger (#53)
- chore: update known checksums for 0.4.5 @github-actions (#48)
- Run test build only on ubuntu-latest @eifinger (#51)
📚 Documentation
⬆️ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.0 to 7.0.1 @dependabot (#56)
v2.0.0 🌈 Change default version to `latest`
This is the first release under the @astral-sh org 🥳
We decided to change the default version to latest
instead of regularly updating the default version to the latest released version of uv
.
This aligns with the default behavior of other setup-x
actions.
You can always pin a specific version with:
- name: Install a specific version of uv
uses: astral-sh/setup-uv@v1
with:
version: "0.4.4"
For self hosted runners this enables use of the tool cache and avoids downloading uv everytime (~1s).
The known checksums will still be updated after each release of uv
.
Changes
- Change Prettier settings @charliermarsh (#36)
- Run Prettier over Markdown and YAML files @charliermarsh (#35)
🚨 Breaking changes
- Change default to
"latest"
@charliermarsh (#37)
🚀 Enhancements
📚 Documentation
- Fix typo "relaying" in README.md @eifinger (#47)
- Make some minor edits to the README @charliermarsh (#46)
- Add acknowledgements and Astral logo @charliermarsh (#34)
- Rename repo org in examples and urls @eifinger (#33)
⬆️ Dependency updates
- Bump @actions/glob from 0.4.0 to 0.5.0 @dependabot (#10)
- Bump typescript from 5.4.5 to 5.5.4 @dependabot (#30)
- Bump peter-evans/create-pull-request from 7.0.0 to 7.0.1 @dependabot (#42)
- Bump eslint-plugin-jest from 28.8.2 to 28.8.3 @dependabot (#43)
- Bump @types/node from 22.5.3 to 22.5.4 @dependabot (#44)
- Bump eslint-plugin-import from 2.29.1 to 2.30.0 @dependabot (#31)
- Bump @types/node from 20.14.9 to 22.5.3 @dependabot (#32)
v1.0.7 🌈 update default version to 0.4.4
Changes
🧰 Maintenance
- chore: update default version to 0.4.4 @github-actions (#29)
⬆️ Dependency updates
- Bump @typescript-eslint/parser from 7.15.0 to 7.18.0 @dependabot (#9)
- Bump eslint-plugin-jest from 28.6.0 to 28.8.2 @dependabot (#23)
- Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 @dependabot (#26)