ci: add ci to test the commands #20
golangci-lint.yaml
on: pull_request
golangci-lint
2m 56s
govulncheck
4s
Annotations
11 errors
|
govulncheck
The specified go version file at: go.mod does not exist
|
|
golangci-lint:
cmd/odf/ceph/ceph.go#L51
ST1005: error strings should not be capitalized (staticcheck)
|
|
golangci-lint:
pkg/benchmark/resources.go#L93
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
|
golangci-lint:
pkg/benchmark/resources.go#L77
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
|
golangci-lint:
pkg/benchmark/resources.go#L59
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
|
golangci-lint:
pkg/benchmark/benchmark_run.go#L88
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
|
golangci-lint:
pkg/benchmark/benchmark_run.go#L20
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
|
golangci-lint:
pkg/rook/osd/osd.go#L40
File is not properly formatted (gofumpt)
|
|
golangci-lint:
pkg/rook/logs.go#L13
File is not properly formatted (gofumpt)
|
|
golangci-lint:
cmd/odf/restore/crds.go#L64
File is not properly formatted (gofumpt)
|
|
golangci-lint:
cmd/odf/get/health.go#L18
Error return value of `k8sutil.WaitForPodToRun` is not checked (errcheck)
|