mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-04-07 20:50:11 +00:00
feat: verify-with-schema
This commit is contained in:
parent
e94e72cadf
commit
d87d4ca588
1 changed files with 4 additions and 0 deletions
|
|
@ -132,6 +132,10 @@ async function runVerify(binPath: string, userArgsMap: Map<string, string>, cmdA
|
|||
cmdVerify += ` --config=${userArgsMap.get("config")}`
|
||||
}
|
||||
|
||||
if (userArgsMap.get("verify-with-schema")) {
|
||||
cmdVerify += ` --schema=${userArgsMap.get("verify-with-schema")}`
|
||||
}
|
||||
|
||||
core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`)
|
||||
|
||||
await execCommand(cmdVerify, cmdArgs).then(printOutput)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue