Fix problems parsing

This commit is contained in:
Denis Isaev
2020-05-04 19:48:51 +03:00
parent b030249340
commit f7d08adb03
5 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"problemMatcher": [
{
"owner": "golangci-lint-action",
"owner": "go",
"pattern": [
{
"regexp": "^\\s*(\\.{0,2}[\\/\\\\].+\\.go):(?:(\\d+):(\\d+):)? (.*)",
+1 -1
View File
@@ -5721,7 +5721,7 @@ function runLint(lintPath) {
if (args.includes(`-out-format`)) {
throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`);
}
const cmd = `${lintPath} run ${args}`.trimRight();
const cmd = `${lintPath} run --out-format=github-actions ${args}`.trimRight();
core.info(`Running [${cmd}] ...`);
const startedAt = Date.now();
try {
+1 -1
View File
@@ -5733,7 +5733,7 @@ function runLint(lintPath) {
if (args.includes(`-out-format`)) {
throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`);
}
const cmd = `${lintPath} run ${args}`.trimRight();
const cmd = `${lintPath} run --out-format=github-actions ${args}`.trimRight();
core.info(`Running [${cmd}] ...`);
const startedAt = Date.now();
try {