backup issues from github #104
Annotations
10 errors and 8 warnings
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/ntfy/ntfy.go#L21
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/ntfy/ntfy.go#L30
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/ntfy/ntfy.go#L8
import 'github.com/cooperspencer/gickup/types' is not allowed from list 'Main' (depguard)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/ntfy/ntfy.go#L16
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/heartbeat/heartbeat.go#L13
G107: Potential HTTP request made with variable url (gosec)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/heartbeat/heartbeat.go#L6
import 'github.com/cooperspencer/gickup/types' is not allowed from list 'Main' (depguard)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/metrics/heartbeat/heartbeat.go#L7
import 'github.com/rs/zerolog/log' is not allowed from list 'Main' (depguard)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L285
Function 'ParseDuration' has too many statements (44 > 40) (funlen)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L256
Comment should end in a period (godot)
|
golangci-lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L262
Comment should end in a period (godot)
|
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/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/local/local.go#L440
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