Issue 191 #113
Annotations
10 errors and 11 warnings
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L35
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L23
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L41
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L14
variable 'err' is only used in the if-statement (gitcmd/gitcmd.go:15:2); consider using short syntax (ifshort)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L27
variable 'err' is only used in the if-statement (gitcmd/gitcmd.go:28:2); consider using short syntax (ifshort)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L42
variable 'err' is only used in the if-statement (gitcmd/gitcmd.go:43:2); consider using short syntax (ifshort)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L31
return with no blank line before (nlreturn)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L46
return with no blank line before (nlreturn)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L222
222-250 lines are duplicate of `gogs/gogs.go:349-378` (dupl)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L349
349-378 lines are duplicate of `gogs/gogs.go:222-250` (dupl)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L80
var-naming: struct field Url should be URL (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L128
unused-parameter: parameter 'parent' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitea/gitea.go#L284
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitea/gitea.go#L429
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L200
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L478
unused-parameter: parameter 'repo' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/github/github.go#L161
var-naming: don't use underscores in Go names; var github_repo should be githubRepo (revive)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/local/local.go#L475
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
The logs for this run have expired and are no longer available.
Loading