Add trusted-root create helper command #295
Triggered via pull request
September 11, 2024 13:17
Status
Failure
Total duration
2m 51s
Artifacts
–
golangci-lint.yml
on: pull_request
lint
2m 38s
lint-test-e2e
1m 46s
Annotations
8 errors
lint:
cmd/cosign/cli/trustedroot/trustedroot.go#L143
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
lint:
cmd/cosign/cli/trustedroot/trustedroot.go#L35
exported: type name will be used as trustedroot.TrustedRootCreateCmd by other packages, and that stutters; consider calling this CreateCmd (revive)
|
lint:
cmd/cosign/cli/trustedroot.go#L46
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cosign/cli/trustedroot/trustedroot.go#L111
unnecessary conversion (unconvert)
|
lint:
cmd/cosign/cli/trustedroot/trustedroot.go#L114
unnecessary conversion (unconvert)
|
lint:
cmd/cosign/cli/trustedroot/trustedroot.go#L56
unnecessary trailing newline (whitespace)
|
lint:
cmd/cosign/cli/trustedroot/trustedroot.go#L190
ST1005: error strings should not be capitalized (stylecheck)
|
lint
issues found
|