backup issues from github #101
Annotations
10 errors and 7 warnings
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L185
185-214 lines are duplicate of `gogs/gogs.go:310-339` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L310
310-339 lines are duplicate of `gogs/gogs.go:185-214` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L28
Function 'Backup' has too many statements (44 > 40) (funlen)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L134
cyclomatic complexity 39 of func `Get` is high (> 30) (gocyclo)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L12
File is not `gofumpt`-ed (gofumpt)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L6
import 'github.com/cooperspencer/gickup/logger' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L7
import 'github.com/cooperspencer/gickup/types' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L8
import 'github.com/gogs/go-gogs-client' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L9
import 'github.com/rs/zerolog' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L51
gogs.CreateOrgOption is missing fields FullName, Description, Website, Location (exhaustruct)
|
lint
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/
|
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/
|
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/
|
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)
|
lint:
go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L366
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
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)
|
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)
|