mirror of
https://github.com/actions-rs/cargo.git
synced 2024-12-22 15:45:49 +02:00
e35786a472
Add problem matcher for cargo output
21 lines
531 B
JSON
21 lines
531 B
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "rust",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$",
|
|
"severity": 1,
|
|
"message": 4,
|
|
"code": 3
|
|
},
|
|
{
|
|
"regexp": "^([\\s->=]*(.*):(\\d*):(\\d*)|.*)$",
|
|
"file": 2,
|
|
"line": 3,
|
|
"column": 4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|