Runs the formatter on code to auto-fix style, or enforce it.
Pattern for files to include in the formatting, e.g. *.java,*.kt
. Default: *
.
Root path from which files to format are searched recursively. Must be relative to the workspace.
Default: .
.
Causes the action to fail upon detecting files changed by running the formatter if set to true
.
Default: false
.
Zero if none changed, greater if at least one file changed.
uses: findologic/[email protected]
with:
include-glob: '*.kt,*.java'
path: .