mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Adding github actions output format
This commit is contained in:
parent
4958e50dfe
commit
d7222c7d38
4 changed files with 67 additions and 0 deletions
|
@ -396,6 +396,8 @@ func (e *Executor) createPrinter() (printers.Printer, error) {
|
|||
p = printers.NewCodeClimate()
|
||||
case config.OutFormatJunitXML:
|
||||
p = printers.NewJunitXML()
|
||||
case config.OutFormatGithubActions:
|
||||
p = printers.NewGithub()
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown output format %s", format)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue