This action execute goimports command and return the output if the command fail.
goimports-path
Path where your Go files are. This path will be used by goimports command to check imports of this files.
Default one is the repository root (./
).
goimports-output
The goimports output if the command fail.
For Example:
All following has imports not properly ordered
handlers/writer.go
services/writer/writerServices.go
uses: Jerome1337/[email protected]
with:
goimports-path: './src'