Skip to content

Bump the all group across 1 directory with 11 updates #1702

Bump the all group across 1 directory with 11 updates

Bump the all group across 1 directory with 11 updates #1702

Triggered via pull request May 24, 2024 14:31
Status Failure
Total duration 29s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
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/storage/storage_test.go#L51
commentFormatting: put a space between `//` and comment text (gocritic)
lint: pkg/chains/storage/storage.go#L92
unnecessary trailing newline (whitespace)
lint: pkg/chains/storage/storage_test.go#L30
unnecessary leading newline (whitespace)
lint: pkg/chains/formats/slsa/internal/material/material.go#L82
appendAssign: append result not assigned to the same slice (gocritic)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/chains/chains. Supported file pattern: go.sum
lint: pkg/artifacts/signable.go#L37
exported: exported const ArtifactsInputsResultName should have comment (or a comment on this block) or be unexported (revive)
lint: pkg/artifacts/signable.go#L48
exported: exported var Sha1Regexp should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L51
exported: exported type Signable should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L68
exported: exported type TaskRunArtifact should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L72
exported: exported method TaskRunArtifact.ShortKey should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L77
exported: exported method TaskRunArtifact.FullKey should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L83
exported: exported method TaskRunArtifact.ExtractObjects should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L87
exported: exported method TaskRunArtifact.Type should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L91
exported: exported method TaskRunArtifact.StorageBackend should have comment or be unexported (revive)
lint: pkg/artifacts/signable.go#L95
exported: exported method TaskRunArtifact.PayloadFormat should have comment or be unexported (revive)