mirror of
https://github.com/actions/setup-dotnet.git
synced 2026-07-01 02:28:18 +01:00
Expand csc problem matcher with more real-world scenarios. Co-authored-by: Stephen Cleary <900597+StephenCleary@users.noreply.github.com>
20 lines
556 B
JSON
20 lines
556 B
JSON
{
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "csc",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^\\s*(?:\\d+>\\s*)?([^\\s].*)\\((\\d+)(?:,(\\d+))?(?:,\\d+)*\\):\\s+(error|warning)\\s+([a-zA-Z]+(?<!MSB)\\d*):\\s*(.*?)\\s+\\[(.*?)\\]$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"code": 5,
|
|
"message": 6,
|
|
"fromPath": 7
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|