Skip to content

Add unit tests to k8sutils package #258

Add unit tests to k8sutils package

Add unit tests to k8sutils package #258

Triggered via pull request February 4, 2025 19:02
Status Failure
Total duration 5m 48s
Artifacts

common-workflows.yaml

on: pull_request
Golang Validation  /  Lint golang code
1m 43s
Golang Validation / Lint golang code
Golang Validation  /  Yaml Lint
4s
Golang Validation / Yaml Lint
Quality Checks  /  Unit tests and package coverage
5m 38s
Quality Checks / Unit tests and package coverage
Quality Checks  /  GoSec
1m 53s
Quality Checks / GoSec
Quality Checks  /  Go Formatter and Vetter
1m 58s
Quality Checks / Go Formatter and Vetter
Quality Checks  /  Malware Scan
48s
Quality Checks / Malware Scan
Quality Checks  /  ...  /  dependabot
0s
Quality Checks / Automerge Dependabot PRs / dependabot
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Golang Validation / Lint golang code: k8sutils/k8sutils_test.go#L57
unused-parameter: parameter 'filepath' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: k8sutils/k8sutils_test.go#L155
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: k8sutils/k8sutils_test.go#L263
unused-parameter: parameter 'tt' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: k8sutils/k8sutils_test.go#L399
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: k8sutils/k8sutils_test.go#L456
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Golang Validation / Lint golang code
issues found
Golang Validation / Yaml Lint: csireverseproxy/manifests/revproxy.yaml#L76
76:31 [comments] too few spaces before comment