about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-06-19 10:06:10 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-06-19 15:34:31 +0000
commit13aa0dc1c7cf4dd4d0e527d47741f7ace790dcc3 (patch)
treeee8c69d2d64c270f7fc25120d827c1e2c0496ee8 /src/ci/github-actions
parent8d1fa473dddd12efb2430302e5f5dfcc3eb73f8b (diff)
downloadrust-13aa0dc1c7cf4dd4d0e527d47741f7ace790dcc3.tar.gz
rust-13aa0dc1c7cf4dd4d0e527d47741f7ace790dcc3.zip
Add gha problem matcher
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/problem_matchers.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ci/github-actions/problem_matchers.json b/src/ci/github-actions/problem_matchers.json
index 37561924b7d..b6c7ace841e 100644
--- a/src/ci/github-actions/problem_matchers.json
+++ b/src/ci/github-actions/problem_matchers.json
@@ -10,6 +10,46 @@
                     "message": 3
                 }
             ]
+        },
+        {
+            "owner": "cargo-common",
+            "pattern": [
+                {
+                    "regexp": "^(warning|warn|error)(\\[(\\S*)\\])?: (.*)$",
+                    "severity": 1,
+                    "message": 4,
+                    "code": 3
+                },
+                {
+                    "regexp": "^\\s+-->\\s(\\S+):(\\d+):(\\d+)$",
+                    "file": 1,
+                    "line": 2,
+                    "column": 3
+                }
+            ]
+        },
+        {
+            "owner": "compiler-panic",
+            "pattern": [
+                {
+                    "regexp": "error: internal compiler error: (.*):(\\d+):(\\d+): (.*)$",
+                    "message": 4,
+                    "file": 1,
+                    "line": 2,
+                    "column": 3
+                }
+            ]
+        },
+        {
+            "owner": "cargo-fmt",
+            "pattern": [
+                {
+                    "regexp": "^(Diff in (\\S+)) at line (\\d+):",
+                    "message": 1,
+                    "file": 2,
+                    "line": 3
+                }
+            ]
         }
     ]
 }