Report SAT Errors with GHA Annotations (#11652)

Let's test the GHA annotations for errors also in this repo!

Similar to openhab/openhab-core#2543

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-11-28 19:31:53 +01:00
committed by GitHub
parent 50d5622e79
commit 1afe90d314
2 changed files with 34 additions and 0 deletions

21
.github/openhab-compile-problems.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"problemMatcher": [
{
"owner": "openhab-compile-problems",
"severity": "error",
"pattern": [
{
"regexp": "Failed to execute goal.*Compilation failure"
},
{
"regexp": "^\\[ERROR\\] (.+\\.java):\\[(.+),(.+)\\] (.*)$",
"file": 1,
"line": 2,
"col": 3,
"message": 4,
"loop": true
}
]
}
]
}