Fix go.mod and github actions to sync with supported release versions of pipeline and kubernetes #1823
Annotations
10 errors and 12 warnings
pkg/chains/signing.go#L95
`getSignableTypes` - `ctx` is unused (unparam)
|
pkg/chains/signing.go#L148
unnecessary leading newline (whitespace)
|
pkg/chains/signing.go#L230
unnecessary trailing newline (whitespace)
|
pkg/chains/signing.go#L253
unnecessary trailing newline (whitespace)
|
pkg/chains/annotations_test.go#L266
unnecessary leading newline (whitespace)
|
pkg/chains/signing_test.go#L142
unnecessary leading newline (whitespace)
|
pkg/chains/signing_test.go#L187
unnecessary trailing newline (whitespace)
|
pkg/chains/signing_test.go#L261
unnecessary leading newline (whitespace)
|
pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L103
appendAssign: append result not assigned to the same slice (gocritic)
|
pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go#L305
Function name: TestBuildConfigTaskOrder, Cyclomatic Complexity: 3, Halstead Volume: 6195.10, Maintainability Index: 19 (maintidx)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
pkg/internal/objectloader/objectloader.go#L27
exported: exported function TaskRunFromFile should have comment or be unexported (revive)
|
pkg/internal/objectloader/objectloader.go#L39
exported: exported function PipelineRunFromFile should have comment or be unexported (revive)
|
pkg/internal/objectloader/objectloader.go#L51
exported: exported function TaskRunV1Beta1FromFile should have comment or be unexported (revive)
|
pkg/internal/objectloader/objectloader.go#L63
exported: exported function PipelineRunV1Beta1FromFile should have comment or be unexported (revive)
|
pkg/chains/signing_test.go#L512
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/chains/signing_test.go#L512
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/chains/signing_test.go#L512
unused-parameter: parameter 'rawPayload' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/chains/constants.go#L17
exported: exported const SignedMessagesCount should have comment (or a comment on this block) or be unexported (revive)
|
pkg/chains/rekor.go#L33
exported: exported const RekorAnnotation should have comment (or a comment on this block) or be unexported (revive)
|
pkg/chains/signing.go#L39
exported: exported type Signer should have comment or be unexported (revive)
|
This job failed
Loading