mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-12 20:50:14 +02:00
refactor version resolving (#353)
This commit is contained in:
committed by
GitHub
parent
9b8caf6c41
commit
0ce1b0bf8b
+2
-2
@@ -11,11 +11,11 @@ inputs:
|
||||
required: false
|
||||
default: ${{ github.workspace }}
|
||||
version:
|
||||
description: "The version of Ruff to use, e.g., `0.6.0` Defaults to the version in pyproject.toml or 'latest'."
|
||||
description: "The version of Ruff to use, e.g., `0.6.0`. Defaults to the first discoverable version in pyproject.toml searched upward from `src`, or `latest`."
|
||||
required: false
|
||||
default: ""
|
||||
version-file:
|
||||
description: "Path to a pyproject.toml or requirements.txt file to read the version from."
|
||||
description: "Path to a pyproject.toml or requirements.txt file to read the version from. If parsing fails, the action warns and falls back to `latest`."
|
||||
required: false
|
||||
checksum:
|
||||
description: "The checksum of the ruff version to install"
|
||||
|
||||
Reference in New Issue
Block a user