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

feat: add kube job entropy model #556

feat: add kube job entropy model

feat: add kube job entropy model #556

Triggered via pull request October 4, 2023 10:10
Status Failure
Total duration 50s
Artifacts

lint.yml

on: pull_request
golangci-lint
38s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
golangci-lint: internal/server/v1/dlq/mapper.go#L77
`mapToEntropyResource` is unused (deadcode)
golangci-lint: internal/server/v1/dlq/mapper.go#L209
`buildJobName` is unused (deadcode)
golangci-lint: internal/server/v1/dlq/mapper.go#L6
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/goto/dex) (gci)
golangci-lint: internal/server/v1/dlq/mapper.go#L9
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/goto/dex) (gci)
golangci-lint: internal/server/v1/dlq/mapper.go#L101
unused-parameter: parameter 'job' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/server/v1/dlq/mapper.go#L199
func `buildEntropyResourceName` is unused (unused)
golangci-lint: internal/server/v1/dlq/mapper.go#L190
func `buildResourceLabels` is unused (unused)
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/