Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

chore: fix linting in previous files #467

chore: fix linting in previous files

chore: fix linting in previous files #467

Triggered via push September 11, 2023 11:46
Status Failure
Total duration 1m 22s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
golangci-lint: internal/server/v1/dlq/handler_test.go#L19
unused-receiver: method receiver 'e' is not referenced in method's body, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L24
unused-receiver: method receiver 'e' is not referenced in method's body, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L29
unused-receiver: method receiver 'e' is not referenced in method's body, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L63
unused-receiver: method receiver 'g' is not referenced in method's body, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/handler_test.go#L68
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/handler.go#L27
Non-inherited new context, use function like `context.WithXXX` or `r.Context` instead (contextcheck)
golangci-lint
issues found
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, 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/
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/