setup-java/.github
Kian Cross 42dba1991e Add problem matcher for Checkstyle
This commit adds a problem matcher for Checkstyle to allow
automatic GitHub annotations.

When run through Gradle, an example line is:
```
[ant:checkstyle] [ERROR] /root/Bound.java:7:2: 'import' has incorrect indentation level 1, expected level should be 0. [Indentation]
```

Alternatively, when run standalone, an example output is:
```
[WARN] /root/test.java:2:1: The name of the outer type and the file do not match. [OuterTypeFilename]
```

The regular expression matches both cases.

In the latter example, `WARN`, rather than `WARNING` is output.
This is resolved by using a default severity of `warning`, which
will be overridden in the case that the severity is `ERROR`.
2021-07-20 12:08:03 +01:00
..
ISSUE_TEMPLATE add bug to labels 2021-02-10 16:58:41 +03:00
workflows Automate releasing new versions of the "setup-java" action (#182) 2021-05-27 17:28:08 +03:00
checkstyle.json Add problem matcher for Checkstyle 2021-07-20 12:08:03 +01:00
CODEOWNERS Update CODEOWNERS 2021-03-04 21:22:42 +03:00
java.json Add problem matcher (#4) 2019-07-11 22:57:54 -04:00
pull_request_template.md Add issue and pr templates 2021-02-05 09:44:08 +03:00