--- /dev/null
+{
+ "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
+ }
+ ]
+ }
+ ]
+}
with:
maven-version: ${{ matrix.maven }}
+ - name: Register Problem Matchers
+ id: problem_matchers
+ run: |
+ echo "::add-matcher::.github/openhab-compile-problems.json"
+
- name: Get Changed Files
id: files
uses: Ana06/get-changed-files@v2.0.0
with:
name: sat-summary-report
path: target/summary_report.html
+
+ - name: Report SAT Errors as Annotations
+ uses: ghys/checkstyle-github-action@main
+ if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }}
+ with:
+ title: CheckStyle Violations
+ path: '**/checkstyle-result.xml'
+ mode: inline