Skip to content

Bump the all group across 1 directory with 19 updates #1739

Bump the all group across 1 directory with 19 updates

Bump the all group across 1 directory with 19 updates #1739

Triggered via pull request June 27, 2024 14:55
Status Failure
Total duration 3m 31s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: pkg/chains/objects/objects.go#L457
457-482 lines are duplicate of `pkg/chains/objects/objects.go:606-631` (dupl)
lint: pkg/chains/objects/objects.go#L606
606-631 lines are duplicate of `pkg/chains/objects/objects.go:457-482` (dupl)
lint: pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go#L145
145-216 lines are duplicate of `pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go:340-415` (dupl)
lint: pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go#L340
340-415 lines are duplicate of `pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go:145-216` (dupl)
lint: pkg/chains/signing/kms/kms_test.go#L55
string `no kms provider found for key reference: ` has 5 occurrences, make it a constant (goconst)
lint: pkg/chains/objects/objects.go#L211
string `Cluster` has 4 occurrences, make it a constant (goconst)
lint: pkg/chains/signing/x509/x509_test.go#L60
string `true` has 3 occurrences, make it a constant (goconst)
lint: pkg/artifacts/signable_test.go#L501
appendAssign: append result not assigned to the same slice (gocritic)
lint: pkg/chains/formats/slsa/attest/attest.go#L131
assignOp: replace `url = url + ".git"` with `url += ".git"` (gocritic)
lint: pkg/chains/formats/slsa/extract/v1beta1/extract.go#L75
appendAssign: append result not assigned to the same slice (gocritic)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/chains/chains. Supported file pattern: go.sum
lint: internal/backport/constants.go#L19
exported: comment on exported const PipelineResourceTypeImage should be of the form "PipelineResourceTypeImage ..." (revive)
lint: internal/backport/constants.go#L22
exported: exported const PipelineResourceTypeGit should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/chains/formats/slsa/internal/build_types/build_types.go#L20
exported: exported const SlsaBuildType should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/chains/provenance/provenance.go#L25
exported: type name will be used as provenance.ProvenancePredicate by other packages, and that stutters; consider calling this Predicate (revive)
lint: pkg/chains/provenance/provenance.go#L45
exported: type name will be used as provenance.ProvenanceRecipe by other packages, and that stutters; consider calling this Recipe (revive)
lint: pkg/chains/provenance/provenance.go#L49
exported: exported type RecipeStep should have comment or be unexported (revive)
lint: pkg/chains/provenance/provenance.go#L57
exported: type name will be used as provenance.ProvenanceMetadata by other packages, and that stutters; consider calling this Metadata (revive)
lint: pkg/chains/provenance/provenance.go#L67
exported: type name will be used as provenance.ProvenanceMaterial by other packages, and that stutters; consider calling this Material (revive)
lint: pkg/chains/signing/wrap.go#L70
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/chains/signing/wrap.go#L83
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)