setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

add compiler problem matcher

Open Trass3r opened this issue 3 years ago • 3 comments

I'm puzzled this doesn't set up problem matchers for compiler messages like

/home/runner/work/user/repo/src/[...].java:203: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    protected String getResource() {
/home/runner/work/user/repo/src/[...].java:563: error: cannot find symbol

Something like

		{
			"owner": "java",
			"pattern": [
				{
					"regexp": "^([^:]+):(\\d+): (warning|error): (.+?)$",
					"file": 1,
					"line": 2,
					"severity": 3,
					"message": 4
				}
			]
		}

Trass3r avatar Jan 25 '22 21:01 Trass3r

Hello @Trass3r. Thank you for your report. We'll investigate the feature request. Could you please provide a public repository for testing ?

dmitry-shibanov avatar Jan 26 '22 12:01 dmitry-shibanov

Seen at https://github.com/tonihele/OpenKeeper/runs/4941368760.

Trass3r avatar Jan 26 '22 12:01 Trass3r

See https://github.com/Trass3r/setup-cpp/blob/master/main.js for reference.

Trass3r avatar Apr 13 '23 13:04 Trass3r