Add resolution-strategy input to support oldest compatible version selection (#631)

Adds a new `resolution-strategy` input that allows users to choose
between installing the highest (default) or lowest compatible version
when resolving version ranges.
This commit is contained in:
Copilot 2025-10-11 21:02:04 +02:00 committed by GitHub
parent a5129e99f4
commit 9c6b5e9fb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 136 additions and 11 deletions

View file

@ -77,6 +77,9 @@ inputs:
add-problem-matchers:
description: "Add problem matchers."
default: "true"
resolution-strategy:
description: "Resolution strategy to use when resolving version ranges. 'highest' uses the latest compatible version, 'lowest' uses the oldest compatible version."
default: "highest"
outputs:
uv-version:
description: "The installed uv version. Useful when using latest."