Skip to content

chore(deps): update dependency golangci/golangci-lint to v1.56.1 #552

chore(deps): update dependency golangci/golangci-lint to v1.56.1

chore(deps): update dependency golangci/golangci-lint to v1.56.1 #552

Triggered via pull request February 12, 2024 10:27
Status Failure
Total duration 2m 57s
Artifacts

lint.golang.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Golang CI lint: pkg/dib/generate_dag.go#L277
File is not `gofumpt`-ed (gofumpt)
Golang CI lint: pkg/kubernetes/pod.go#L75
fmt.Errorf can be replaced with errors.New (perfsprint)
Golang CI lint: pkg/goss/executor_dgoss.go#L37
fmt.Sprintf can be replaced with string addition (perfsprint)
Golang CI lint: pkg/goss/executor_kubernetes.go#L131
fmt.Sprintf can be replaced with string addition (perfsprint)
Golang CI lint: pkg/kaniko/context_local.go#L20
fmt.Sprintf can be replaced with string addition (perfsprint)
Golang CI lint: pkg/kaniko/executor_kubernetes.go#L36
fmt.Errorf can be replaced with errors.New (perfsprint)
Golang CI lint: pkg/trivy/executor_kubernetes.go#L39
fmt.Errorf can be replaced with errors.New (perfsprint)
Golang CI lint: pkg/goss/executor_kubernetes_test.go#L97
go-require: require must only be used in the goroutine running the test function (testifylint)
Golang CI lint: pkg/kaniko/executor_kubernetes_test.go#L133
go-require: require must only be used in the goroutine running the test function (testifylint)
Golang CI lint: pkg/trivy/executor_kubernetes_test.go#L136
go-require: require must only be used in the goroutine running the test function (testifylint)
Golang CI lint: pkg/dag/dag_test.go#L208
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
Golang CI lint: pkg/trivy/report.go#L35
var-naming: struct field DiffIds should be DiffIDs (revive)
Golang CI lint: cmd/version.go#L26
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
Golang CI lint
Restore cache failed: Dependencies file is not found in /home/runner/work/dib/dib. Supported file pattern: go.sum