一些优化 #50
Annotations
3 errors and 5 warnings
lint-and-build:
mutex/root.go#L19
`pubSub` is unused (structcheck)
|
lint-and-build:
pkg/utils/pubsub/pubsub_test.go#L19
S1000: should use for range instead of for { select {} } (gosimple)
|
lint-and-build
issues found
|
lint-and-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-and-build
Unexpected input(s) 'working-direcetory', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache']
|
lint-and-build
Unexpected input(s) 'working-direcetory', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache']
|
lint-and-build
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-and-build:
pkg/utils/pubsub/pubsub_test.go#L10
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|