mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-12 20:50:14 +02:00
Don't warn on no version found in pyproject.toml (#209)
This commit is contained in:
committed by
GitHub
parent
74b1866cee
commit
6d8460e4e6
+1
-1
@@ -31840,7 +31840,7 @@ async function determineVersion() {
|
||||
}
|
||||
const versionFromPyproject = (0, pyproject_1.getRuffVersionFromRequirementsFile)(pyProjectPath);
|
||||
if (versionFromPyproject === undefined) {
|
||||
core.warning(`Could not parse version from ${pyProjectPath}. Using latest version.`);
|
||||
core.info(`Could not parse version from ${pyProjectPath}. Using latest version.`);
|
||||
}
|
||||
return await (0, download_version_1.resolveVersion)(versionFromPyproject || "latest", inputs_1.githubToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user