Skip to content

Fix go.mod and github actions to sync with supported release versions of pipeline and kubernetes #1823

Fix go.mod and github actions to sync with supported release versions of pipeline and kubernetes

Fix go.mod and github actions to sync with supported release versions of pipeline and kubernetes #1823

Triggered via pull request August 21, 2024 09:46
Status Failure
Total duration 41s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: pkg/chains/signing.go#L95
`getSignableTypes` - `ctx` is unused (unparam)
lint: pkg/chains/signing.go#L148
unnecessary leading newline (whitespace)
lint: pkg/chains/signing.go#L230
unnecessary trailing newline (whitespace)
lint: pkg/chains/signing.go#L253
unnecessary trailing newline (whitespace)
lint: pkg/chains/annotations_test.go#L266
unnecessary leading newline (whitespace)
lint: pkg/chains/signing_test.go#L142
unnecessary leading newline (whitespace)
lint: pkg/chains/signing_test.go#L187
unnecessary trailing newline (whitespace)
lint: pkg/chains/signing_test.go#L261
unnecessary leading newline (whitespace)
lint: pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L103
appendAssign: append result not assigned to the same slice (gocritic)
lint: pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go#L305
Function name: TestBuildConfigTaskOrder, Cyclomatic Complexity: 3, Halstead Volume: 6195.10, Maintainability Index: 19 (maintidx)
lint
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/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/chains/chains. Supported file pattern: go.sum
lint: pkg/internal/objectloader/objectloader.go#L27
exported: exported function TaskRunFromFile should have comment or be unexported (revive)
lint: pkg/internal/objectloader/objectloader.go#L39
exported: exported function PipelineRunFromFile should have comment or be unexported (revive)
lint: pkg/internal/objectloader/objectloader.go#L51
exported: exported function TaskRunV1Beta1FromFile should have comment or be unexported (revive)
lint: pkg/internal/objectloader/objectloader.go#L63
exported: exported function PipelineRunV1Beta1FromFile should have comment or be unexported (revive)
lint: pkg/chains/signing_test.go#L512
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/chains/signing_test.go#L512
unused-parameter: parameter 'signer' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/chains/signing_test.go#L512
unused-parameter: parameter 'rawPayload' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/chains/constants.go#L17
exported: exported const SignedMessagesCount should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/chains/rekor.go#L33
exported: exported const RekorAnnotation should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/chains/signing.go#L39
exported: exported type Signer should have comment or be unexported (revive)