Add support for .tools-versions (#531)

Closes: #504
This commit is contained in:
Kevin Stillhammer
2025-08-21 11:15:28 +02:00
committed by GitHub
parent fce199e243
commit adeb28643f
7 changed files with 248 additions and 2 deletions

View File

@ -100,6 +100,8 @@ You can use the `version-file` input to specify a file that contains the version
This can either be a `pyproject.toml` or `uv.toml` file which defines a `required-version` or
uv defined as a dependency in `pyproject.toml` or `requirements.txt`.
[asdf](https://asdf-vm.com/) `.tool-versions` is also supported, but without the `ref` syntax.
```yaml
- name: Install uv based on the version defined in pyproject.toml
uses: astral-sh/setup-uv@v6