mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-16 15:38:28 +00:00
chore: generate
This commit is contained in:
parent
3b8d935c85
commit
0ec7daf6a5
2 changed files with 8 additions and 8 deletions
8
dist/post_run/index.js
generated
vendored
8
dist/post_run/index.js
generated
vendored
|
|
@ -94053,10 +94053,6 @@ async function runLint(binPath, patchPath) {
|
||||||
const res = await execShellCommand(`${binPath} cache status`);
|
const res = await execShellCommand(`${binPath} cache status`);
|
||||||
printOutput(res);
|
printOutput(res);
|
||||||
}
|
}
|
||||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
|
||||||
const res = await execShellCommand(`${binPath} config verify`);
|
|
||||||
printOutput(res);
|
|
||||||
}
|
|
||||||
let userArgs = core.getInput(`args`);
|
let userArgs = core.getInput(`args`);
|
||||||
const addedArgs = [];
|
const addedArgs = [];
|
||||||
const userArgsList = userArgs
|
const userArgsList = userArgs
|
||||||
|
|
@ -94127,6 +94123,10 @@ async function runLint(binPath, patchPath) {
|
||||||
}
|
}
|
||||||
cmdArgs.cwd = path.resolve(workingDirectory);
|
cmdArgs.cwd = path.resolve(workingDirectory);
|
||||||
}
|
}
|
||||||
|
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||||
|
const res = await execShellCommand(`${binPath} config verify`, cmdArgs);
|
||||||
|
printOutput(res);
|
||||||
|
}
|
||||||
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd();
|
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd();
|
||||||
core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`);
|
core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`);
|
||||||
const startedAt = Date.now();
|
const startedAt = Date.now();
|
||||||
|
|
|
||||||
8
dist/run/index.js
generated
vendored
8
dist/run/index.js
generated
vendored
|
|
@ -94053,10 +94053,6 @@ async function runLint(binPath, patchPath) {
|
||||||
const res = await execShellCommand(`${binPath} cache status`);
|
const res = await execShellCommand(`${binPath} cache status`);
|
||||||
printOutput(res);
|
printOutput(res);
|
||||||
}
|
}
|
||||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
|
||||||
const res = await execShellCommand(`${binPath} config verify`);
|
|
||||||
printOutput(res);
|
|
||||||
}
|
|
||||||
let userArgs = core.getInput(`args`);
|
let userArgs = core.getInput(`args`);
|
||||||
const addedArgs = [];
|
const addedArgs = [];
|
||||||
const userArgsList = userArgs
|
const userArgsList = userArgs
|
||||||
|
|
@ -94127,6 +94123,10 @@ async function runLint(binPath, patchPath) {
|
||||||
}
|
}
|
||||||
cmdArgs.cwd = path.resolve(workingDirectory);
|
cmdArgs.cwd = path.resolve(workingDirectory);
|
||||||
}
|
}
|
||||||
|
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||||
|
const res = await execShellCommand(`${binPath} config verify`, cmdArgs);
|
||||||
|
printOutput(res);
|
||||||
|
}
|
||||||
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd();
|
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd();
|
||||||
core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`);
|
core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`);
|
||||||
const startedAt = Date.now();
|
const startedAt = Date.now();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue