Takes the errors generated by scalafmt when run in diff mode and converts it into a format that can be parsed by Github Actions.
This tool is used by scalafmt-action to provide a full scalafmt solution for Github Actions.
Call scalafmt-report with the filename of the errors from scalafmt and the base path of the source code:
scalafmt-report <diff> <path-to-source>The errors will then be outputted as Github Actions error messages:
::error file=src/main/scala/com/example/Main.scala,line=83::Incorrectly formatted line(s)
::error file=src/main/scala/com/example/service/WidgetService.scala,line=15::Incorrectly formatted line(s)