Bump the all group across 1 directory with 22 updates #1787
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#L58
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
The following actions uses Node.js version which is deprecated 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:
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)
|