Skip to content

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

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 #1837

Triggered via pull request September 3, 2024 13:33
Status Failure
Total duration 3m 16s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/chains/signing/kms/kms_test.go#L57
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: pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L103
appendAssign: append result not assigned to the same slice (gocritic)
lint: pkg/chains/storage/storage_test.go#L51
commentFormatting: put a space between `//` and comment text (gocritic)
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