.github/workflows/*.yml: update action versions #2
lint.yml
on: pull_request
runner / golangci-lint
29s
Annotations
10 errors and 2 warnings
runner / golangci-lint:
db.go#L9
error-naming: error var Empty should have name of the form ErrFoo (revive)
|
runner / golangci-lint:
middleware/prefix/executor.go#L28
unused-parameter: parameter 'idx' seems to be unused, consider removing or renaming it as _ (revive)
|
runner / golangci-lint:
middleware/prefix/executor.go#L106
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
runner / golangci-lint:
backend/db.go#L29
receiver-naming: receiver name d should be consistent with previous receiver name db for db (revive)
|
runner / golangci-lint:
backend/config.go#L116
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
runner / golangci-lint:
internal/scanner/convert.go#L16
calculated cyclomatic complexity for function convertAssign is 46, max is 15 (cyclop)
|
runner / golangci-lint:
internal/scanner/convert.go#L240
calculated cyclomatic complexity for function Assign is 20, max is 15 (cyclop)
|
runner / golangci-lint:
internal/scanner/convert.go#L140
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
runner / golangci-lint:
internal/scanner/convert.go#L152
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
runner / golangci-lint:
internal/scanner/convert.go#L164
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
runner / golangci-lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
|
runner / golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/redis/redis. Supported file pattern: go.sum
|