Skip to content

Bump the all group across 1 directory with 25 updates #1819

Bump the all group across 1 directory with 25 updates

Bump the all group across 1 directory with 25 updates #1819

Triggered via pull request August 20, 2024 14:08
Status Failure
Total duration 31s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L103
appendAssign: append result not assigned to the same slice (gocritic)
lint: pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go#L305
Function name: TestBuildConfigTaskOrder, Cyclomatic Complexity: 3, Halstead Volume: 6195.10, Maintainability Index: 19 (maintidx)
lint: pkg/artifacts/signable_test.go#L501
appendAssign: append result not assigned to the same slice (gocritic)
lint: pkg/artifacts/signable.go#L399
unnecessary trailing newline (whitespace)
lint: pkg/artifacts/signable_test.go#L646
unnecessary trailing newline (whitespace)
lint: pkg/artifacts/signable_test.go#L817
unnecessary trailing newline (whitespace)
lint: pkg/artifacts/signable.go#L370
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
lint: pkg/artifacts/signable_test.go#L48
Function name: TestOCIArtifact_ExtractObjects, Cyclomatic Complexity: 8, Halstead Volume: 5596.34, Maintainability Index: 19 (maintidx)
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
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
lint: pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go#L306
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L35
exported: exported type BuildConfig should have comment or be unexported (revive)
lint: pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L39
exported: exported type TaskAttestation should have comment or be unexported (revive)
lint: pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go#L54
exported: exported function GenerateAttestation should have comment or be unexported (revive)
lint: pkg/artifacts/signable_test.go#L38
var-naming: don't use underscores in Go names; const digest_sha384 should be digestSha384 (revive)
lint: pkg/artifacts/signable_test.go#L39
var-naming: don't use underscores in Go names; const digest_sha512 should be digestSha512 (revive)
lint: pkg/artifacts/signable_test.go#L40
var-naming: don't use underscores in Go names; const digest_sha1 should be digestSha1 (revive)
lint: pkg/artifacts/signable.go#L376
var-naming: don't use underscores in Go names; func result algo_string should be algoString (revive)
lint: pkg/artifacts/signable_test.go#L41
var-naming: don't use underscores in Go names; const digest_incorrect_sha1 should be digestIncorrectSha1 (revive)
lint: pkg/artifacts/signable_test.go#L42
var-naming: don't use underscores in Go names; const digest_incorrect_sha512 should be digestIncorrectSha512 (revive)