From 581a3cb02d9b4936c036c8d55d0633d07e997dc6 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 13 Aug 2026 14:59:59 +0200 Subject: [PATCH] Use latest uv release by default (#871) --- setup-uv/README.md | 3 +-- setup-uv/action.yml | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/setup-uv/README.md b/setup-uv/README.md index 487a37f..e423e34 100644 --- a/setup-uv/README.md +++ b/setup-uv/README.md @@ -1,6 +1,6 @@ # Setup uv Action -Provides Ultralytics defaults for the official [uv setup action](https://github.com/astral-sh/setup-uv), with optional Python environment activation and dependency caching. Set `version: latest-known` to select the newest checksum-verified uv release without a manifest request. +Provides Ultralytics defaults for the official [uv setup action](https://github.com/astral-sh/setup-uv), using the latest uv release and optionally activating a Python environment and dependency caching. ## Usage @@ -17,7 +17,6 @@ Provides Ultralytics defaults for the official [uv setup action](https://github. | Input | Description | Required | Default | | ----------------------- | ----------------------------------------- | -------- | ------------ | -| `version` | uv version or selector to install | No | - | | `python-version` | Python version for uv commands | No | - | | `activate-environment` | Create and activate a `.venv` environment | No | `false` | | `enable-cache` | Cache uv downloads between workflow runs | No | `false` | diff --git a/setup-uv/action.yml b/setup-uv/action.yml index 9eb5a9f..0da4ed5 100644 --- a/setup-uv/action.yml +++ b/setup-uv/action.yml @@ -3,10 +3,6 @@ name: "Setup uv" description: "Install uv with optional Python environment activation and dependency caching" inputs: - version: - description: "uv version or selector to install" - required: false - default: "" python-version: description: "Python version for uv commands" required: false @@ -33,7 +29,7 @@ runs: steps: - uses: astral-sh/setup-uv@v10.0.0 with: - version: ${{ inputs.version }} + version: latest python-version: ${{ inputs.python-version }} activate-environment: ${{ inputs.activate-environment }} enable-cache: ${{ inputs.enable-cache }}