mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-26 17:00:34 +01:00
12a4c2d9dc
The action runner currently fails to strip color codes from the output.
This means that many matchers currectly do not work.
https://github.com/actions/runner/issues/2341
https://github.com/actions/runner/pull/2430
The new matcher is copied from kaj/rsass which is MIT licensed.
3e5d6c0600/.github/workflows/rust-problem-matcher.json
33 lines
1 KiB
JSON
33 lines
1 KiB
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "rustfmt",
|
|
"severity": "warning",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(Diff in (.+)) at line (\\d+):$",
|
|
"message": 1,
|
|
"file": 2,
|
|
"line": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"owner": "clippy",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(?:\\x1b\\[[\\d;]+m)*(warning|warn|error)(?:\\x1b\\[[\\d;]+m)*(\\[(.*)\\])?(?:\\x1b\\[[\\d;]+m)*:(?:\\x1b\\[[\\d;]+m)* ([^\\x1b]*)(?:\\x1b\\[[\\d;]+m)*$",
|
|
"severity": 1,
|
|
"message": 4,
|
|
"code": 3
|
|
},
|
|
{
|
|
"regexp": "^(?:\\x1b\\[[\\d;]+m)*\\s*(?:\\x1b\\[[\\d;]+m)*\\s*--> (?:\\x1b\\[[\\d;]+m)*(.*):(\\d*):(\\d*)(?:\\x1b\\[[\\d;]+m)*$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|