-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use problem matchers for GitHub Action format
- Loading branch information
Showing
4 changed files
with
259 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
::error file=pkg/experimental/myplugin/myplugin.go,line=13,col=1::don't use `init` function (gochecknoinits) | ||
::error file=pkg/lint/lintersdb/builder_plugin.go,line=59,col=69::hugeParam: settings is heavy (80 bytes); consider passing it by pointer (gocritic) | ||
::error file=pkg/printers/printer_test.go,line=6::File is not `goimports`-ed with -local github.com/golangci/golangci-lint (goimports) | ||
::error file=pkg/config/issues.go,line=107,col=13::struct of size 144 bytes could be of size 128 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=200,col=22::struct of size 3144 bytes could be of size 3096 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=383,col=25::struct of size 72 bytes could be of size 64 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=470,col=22::struct of size 72 bytes could be of size 56 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=482,col=23::struct of size 136 bytes could be of size 128 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=584,col=27::struct of size 64 bytes could be of size 56 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=591,col=20::struct of size 88 bytes could be of size 80 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=710,col=25::struct of size 40 bytes could be of size 32 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=762,col=21::struct of size 112 bytes could be of size 104 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=787,col=23::struct of size 32 bytes could be of size 24 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=817,col=23::struct of size 40 bytes could be of size 32 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=902,col=25::struct of size 80 bytes could be of size 72 bytes (maligned) | ||
::error file=pkg/config/linters_settings.go,line=928,col=18::struct of size 112 bytes could be of size 96 bytes (maligned) | ||
::error file=pkg/config/run.go,line=6,col=10::struct of size 168 bytes could be of size 160 bytes (maligned) | ||
::error file=pkg/lint/linter/config.go,line=36,col=13::struct of size 128 bytes could be of size 120 bytes (maligned) | ||
::error file=pkg/golinters/govet_test.go,line=70,col=23::struct of size 96 bytes could be of size 88 bytes (maligned) | ||
::error file=pkg/result/processors/diff.go,line=17,col=11::struct of size 64 bytes could be of size 56 bytes (maligned) | ||
::warning file=pkg/experimental/myplugin/myplugin.go,line=49,col=14::unused-parameter: parameter 'pass' seems to be unused, consider removing or renaming it as _ (revive) | ||
::error file=pkg/commands/run.go,line=47,col=7::const `defaultFileMode` is unused (unused) | ||
::debug::problem matcher definition file: /tmp/golangci-lint-action-problem-matchers.json | ||
::add-matcher::/tmp/golangci-lint-action-problem-matchers.json | ||
error pkg/experimental/myplugin/myplugin.go:13:1: don't use `init` function (gochecknoinits) | ||
error pkg/lint/lintersdb/builder_plugin.go:59:69: hugeParam: settings is heavy (80 bytes); consider passing it by pointer (gocritic) | ||
error pkg/printers/printer_test.go:6: File is not `goimports`-ed with -local github.com/golangci/golangci-lint (goimports) | ||
error pkg/config/issues.go:107:13: struct of size 144 bytes could be of size 128 bytes (maligned) | ||
error pkg/config/linters_settings.go:200:22: struct of size 3144 bytes could be of size 3096 bytes (maligned) | ||
error pkg/config/linters_settings.go:383:25: struct of size 72 bytes could be of size 64 bytes (maligned) | ||
error pkg/config/linters_settings.go:470:22: struct of size 72 bytes could be of size 56 bytes (maligned) | ||
error pkg/config/linters_settings.go:482:23: struct of size 136 bytes could be of size 128 bytes (maligned) | ||
error pkg/config/linters_settings.go:584:27: struct of size 64 bytes could be of size 56 bytes (maligned) | ||
error pkg/config/linters_settings.go:591:20: struct of size 88 bytes could be of size 80 bytes (maligned) | ||
error pkg/config/linters_settings.go:710:25: struct of size 40 bytes could be of size 32 bytes (maligned) | ||
error pkg/config/linters_settings.go:762:21: struct of size 112 bytes could be of size 104 bytes (maligned) | ||
error pkg/config/linters_settings.go:787:23: struct of size 32 bytes could be of size 24 bytes (maligned) | ||
error pkg/config/linters_settings.go:817:23: struct of size 40 bytes could be of size 32 bytes (maligned) | ||
error pkg/config/linters_settings.go:902:25: struct of size 80 bytes could be of size 72 bytes (maligned) | ||
error pkg/config/linters_settings.go:928:18: struct of size 112 bytes could be of size 96 bytes (maligned) | ||
error pkg/config/run.go:6:10: struct of size 168 bytes could be of size 160 bytes (maligned) | ||
error pkg/lint/linter/config.go:36:13: struct of size 128 bytes could be of size 120 bytes (maligned) | ||
error pkg/golinters/govet_test.go:70:23: struct of size 96 bytes could be of size 88 bytes (maligned) | ||
error pkg/result/processors/diff.go:17:11: struct of size 64 bytes could be of size 56 bytes (maligned) | ||
warning pkg/experimental/myplugin/myplugin.go:49:14: unused-parameter: parameter 'pass' seems to be unused, consider removing or renaming it as _ (revive) | ||
error pkg/commands/run.go:47:7: const `defaultFileMode` is unused (unused) | ||
::remove-matcher owner=golangci-lint-action:: |