Bump the all group across 1 directory with 25 updates #1806
Annotations
10 errors and 12 warnings
lint:
pkg/chains/objects/objects.go#L462
462-487 lines are duplicate of `pkg/chains/objects/objects.go:612-637` (dupl)
|
lint:
pkg/chains/objects/objects.go#L612
612-637 lines are duplicate of `pkg/chains/objects/objects.go:462-487` (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/extract/v1beta1/extract.go#L75
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/internal/material/material.go#L82
appendAssign: append result not assigned to the same slice (gocritic)
|
lint:
pkg/chains/formats/slsa/internal/material/material.go#L309
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:
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:
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/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)
|