Skip to content

chore(deps): update rekor-cli-v1-3 to 7d614e4 #2896

chore(deps): update rekor-cli-v1-3 to 7d614e4

chore(deps): update rekor-cli-v1-3 to 7d614e4 #2896

Status Failure
Total duration 3m 14s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/cosign/fetch.go#L189
SA1019: in_toto.Statement is deprecated: This implementation of Statement exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L266
SA1019: in_toto.Statement is deprecated: This implementation of Statement exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L239
SA1019: in_toto.ProvenanceStatementSLSA1 is deprecated: ProvenanceStatementSLSA1 exists for historical compatibility and should not be used. To generate an ITE-6 v1 Statement with an ITE-9 Provenance v1 predicate, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L230
SA1019: slsa1.ProvenancePredicate is deprecated: ProvenancePredicate exists for historical compatibility and should not be used. This implementation has been superseded by the Provenance struct generated from the Protobuf definition provided by the in-toto Attestation Framework. https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/predicates/provenance/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L191
SA1019: in_toto.Statement is deprecated: This implementation of Statement exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L174
SA1019: in_toto.Subject is deprecated: This implementation of Subject exists for historical compatibility and should not be used. This implementation has been superseded by a ResourceDescriptor struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement subject, use the ResourceDescriptor Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L171
SA1019: in_toto.StatementHeader is deprecated: This implementation of StatementHeader exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L170
SA1019: in_toto.StatementHeader is deprecated: This implementation of StatementHeader exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: pkg/cosign/attestation/attestation.go#L149
SA1019: in_toto.Statement is deprecated: This implementation of Statement exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint: cmd/cosign/cli/attest/attest_blob_test.go#L252
SA1019: in_toto.Statement is deprecated: This implementation of Statement exists for historical compatibility and should not be used. This implementation has been superseded by the Statement struct generated from the Protobuf definition in https://github.com/in-toto/attestation/tree/main/protos/in_toto_attestation/v1. To generate an ITE-6 v1 Statement, use the Go APIs provided in https://github.com/in-toto/attestation/tree/main/go/v1. (staticcheck)
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint-test-e2e
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/