Skip to content

Update golangci-lint.yml #3233

Update golangci-lint.yml

Update golangci-lint.yml #3233

Re-run triggered January 5, 2024 12:14
Status Failure
Total duration 3m 6s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
lint
issues found
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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: frontend/schema/schemahandler.go#L96
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
lint: pkg/log/zap_logger.go#L117
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/log/zap_logger.go#L121
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/log/zap_logger.go#L125
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/interceptor/interceptors.go#L60
unreachable-code: unreachable code after this statement (revive)
lint: pkg/chain/invocation.go#L119
unreachable-code: unreachable code after this statement (revive)
lint: pkg/queue/uniqueue.go#L47
unreachable-code: unreachable code after this statement (revive)
lint: pkg/event/subscriber.go#L65
unused-parameter: parameter 'job' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/event/bus.go#L44
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)