Skip to content

Added unit tests for file package #269

Added unit tests for file package

Added unit tests for file package #269

Triggered via pull request February 6, 2025 22:35
Status Failure
Total duration 5m 47s
Artifacts

common-workflows.yaml

on: pull_request
Golang Validation  /  Lint golang code
1m 39s
Golang Validation / Lint golang code
Golang Validation  /  Yaml Lint
5s
Golang Validation / Yaml Lint
Quality Checks  /  Unit tests and package coverage
5m 36s
Quality Checks / Unit tests and package coverage
Quality Checks  /  GoSec
1m 55s
Quality Checks / GoSec
Quality Checks  /  Go Formatter and Vetter
2m 3s
Quality Checks / Go Formatter and Vetter
Quality Checks  /  Malware Scan
47s
Quality Checks / Malware Scan
Quality Checks  /  ...  /  dependabot
0s
Quality Checks / Automerge Dependabot PRs / dependabot
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Golang Validation / Lint golang code: pkg/file/file_test.go#L814
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L831
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L834
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L834
unused-parameter: parameter 'perm' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L835
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L835
unused-parameter: parameter 'source' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L835
unused-parameter: parameter 'target' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L835
unused-parameter: parameter 'fstype' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L835
unused-parameter: parameter 'options' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Lint golang code: pkg/file/file_test.go#L848
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Golang Validation / Yaml Lint: csireverseproxy/manifests/revproxy.yaml#L76
76:31 [comments] too few spaces before comment