From 2941a791851a9ac7a5f8084bf054b4af7cc42656 Mon Sep 17 00:00:00 2001 From: Michael J Mulligan Date: Wed, 7 Apr 2021 19:41:59 +0100 Subject: [PATCH] Add Problem Matcher for Log-Only output format. --- dist/matchers-golangci-lint-action.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dist/matchers-golangci-lint-action.json diff --git a/dist/matchers-golangci-lint-action.json b/dist/matchers-golangci-lint-action.json new file mode 100644 index 0000000..112d8da --- /dev/null +++ b/dist/matchers-golangci-lint-action.json @@ -0,0 +1,17 @@ +{ + "problemMatcher": [ + { + "owner": "golangci-lint-action", + "pattern": [ + { + "regexp": "^\\s*(\\.{0,2}[\\/\\\\].+\\.go):(?:(\\d+):(\\d+):)? (.*)", + "severity": 1, + "file": 2, + "line": 3, + "column": 4, + "message": 5 + } + ] + } + ] +} \ No newline at end of file