Merge pull request #5050 from tamirms/internal-fixes #20
Annotations
10 errors and 6 warnings
support/render/health/handler_test.go#L19
response body must be closed (bodyclose)
|
support/render/health/handler_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
services/horizon/internal/db2/page_query.go#L197
naked return in func `CursorInt64Pair` with 50 lines of code (nakedret)
|
services/horizon/internal/db2/page_query.go#L242
naked return in func `NewPageQuery` with 41 lines of code (nakedret)
|
tools/horizon-cmp/internal/response.go#L97
cyclomatic complexity 25 of func `NewResponse` is high (> 15) (gocyclo)
|
tools/horizon-cmp/internal/response.go#L148
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
tools/horizon-cmp/internal/response.go#L208
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
tools/horizon-cmp/internal/response.go#L213
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
tools/horizon-cmp/internal/response.go#L222
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
tools/horizon-cmp/internal/response.go#L118
response body must be closed (bodyclose)
|
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/
|
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/
|
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/
|
The `set-output` 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/
|
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/
|
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/
|
The logs for this run have expired and are no longer available.
Loading