mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-20 01:14:38 +00:00
add distribution files
This commit is contained in:
parent
86bb75a024
commit
a8cbf3c997
2 changed files with 4 additions and 2 deletions
3
dist/post_run/index.js
vendored
3
dist/post_run/index.js
vendored
|
|
@ -68277,7 +68277,8 @@ function runLint(lintPath, patchPath) {
|
|||
if (userArgNames.has(`out-format`)) {
|
||||
throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`);
|
||||
}
|
||||
addedArgs.push(`--out-format=github-actions`);
|
||||
const outputFile = core.getInput(`output-file`, { required: false }).trim();
|
||||
addedArgs.push(`--out-format=github-actions${outputFile ? "," + outputFile : ""}`);
|
||||
if (patchPath) {
|
||||
if (userArgNames.has(`new`) || userArgNames.has(`new-from-rev`) || userArgNames.has(`new-from-patch`)) {
|
||||
throw new Error(`please, don't specify manually --new* args when requesting only new issues`);
|
||||
|
|
|
|||
3
dist/run/index.js
vendored
3
dist/run/index.js
vendored
|
|
@ -68277,7 +68277,8 @@ function runLint(lintPath, patchPath) {
|
|||
if (userArgNames.has(`out-format`)) {
|
||||
throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`);
|
||||
}
|
||||
addedArgs.push(`--out-format=github-actions`);
|
||||
const outputFile = core.getInput(`output-file`, { required: false }).trim();
|
||||
addedArgs.push(`--out-format=github-actions${outputFile ? "," + outputFile : ""}`);
|
||||
if (patchPath) {
|
||||
if (userArgNames.has(`new`) || userArgNames.has(`new-from-rev`) || userArgNames.has(`new-from-patch`)) {
|
||||
throw new Error(`please, don't specify manually --new* args when requesting only new issues`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue