mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-09-20 11:01:30 +00:00
Don't warn on no version found in pyproject.toml (#209)
This commit is contained in:
BIN
Binary file not shown.
+1
-1
@@ -115,7 +115,7 @@ async function determineVersion(): Promise<string> {
|
|||||||
const versionFromPyproject =
|
const versionFromPyproject =
|
||||||
getRuffVersionFromRequirementsFile(pyProjectPath);
|
getRuffVersionFromRequirementsFile(pyProjectPath);
|
||||||
if (versionFromPyproject === undefined) {
|
if (versionFromPyproject === undefined) {
|
||||||
core.warning(
|
core.info(
|
||||||
`Could not parse version from ${pyProjectPath}. Using latest version.`,
|
`Could not parse version from ${pyProjectPath}. Using latest version.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user