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

chore: fix mapping env vars #611

chore: fix mapping env vars

chore: fix mapping env vars #611

Triggered via push October 12, 2023 07:40
Status Failure
Total duration 1m 37s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci-lint: internal/server/v1/dlq/mapper.go#L17
`enrichDlqJob` is unused (deadcode)
golangci-lint: internal/server/v1/dlq/mapper.go#L85
`mapToEntropyResource` is unused (deadcode)
golangci-lint: internal/server/v1/dlq/mapper.go#L195
`mapToDlqJob` is unused (deadcode)
golangci-lint: internal/server/v1/dlq/mapper.go#L264
`buildJobName` is unused (deadcode)
golangci-lint: internal/server/v1/dlq/mapper.go#L20
string `kube_cluster` has 2 occurrences, make it a constant (goconst)
golangci-lint: internal/server/v1/dlq/mapper.go#L113
G101: Potential hardcoded credentials (gosec)
golangci-lint: internal/server/v1/dlq/service.go#L30
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/mapper.go#L111
func `makeConfigStruct` is unused (unused)
golangci-lint: internal/server/v1/dlq/mapper.go#L254
func `buildEntropyResourceName` is unused (unused)
golangci-lint: internal/server/v1/dlq/mapper.go#L244
func `buildResourceLabels` is unused (unused)
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/