Skip to content

feat(generate): generate pkl testing #1218

feat(generate): generate pkl testing

feat(generate): generate pkl testing #1218

Re-run triggered June 17, 2024 12:36
Status Failure
Total duration 4m 8s
Artifacts

main.yaml

on: pull_request
goreleaser
0s
goreleaser
binary-provenance  /  detect-env
binary-provenance / detect-env
image-provenance  /  detect-env
image-provenance / detect-env
binary-provenance  /  generator
binary-provenance / generator
image-provenance  /  generator
image-provenance / generator
binary-provenance  /  upload-assets
binary-provenance / upload-assets
image-provenance  /  final
image-provenance / final
binary-provenance  /  final
binary-provenance / final
verification-with-cosign
0s
verification-with-cosign
verification-with-slsa-verifier
0s
verification-with-slsa-verifier
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lints: internal/generate/pkl.go#L570
Comment should end in a period (godot)
Lints: internal/generate/pkl.go#L536
`if ok && len(cf.NounMatches) != 0` has complex nested blocks (complexity: 8) (nestif)
Lints: internal/generate/pkl.go#L377
Consider pre-allocating `result` (prealloc)
Lints: internal/generate/pkl.go#L401
Consider pre-allocating `result` (prealloc)
Lints: internal/generate/pkl.go#L334
calculated cyclomatic complexity for function collectGenAssignments is 11, max is 10 (cyclop)
Lints: internal/generate/pkl.go#L534
calculated cyclomatic complexity for function isNoun is 13, max is 10 (cyclop)
Lints: internal/generate/pkl.go#L5
import 'github.com/iancoleman/strcase' is not allowed from list 'main' (depguard)
Lints: internal/generate/generate.go#L45
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to get Working Directory %v\", err)" (err113)
Lints: internal/generate/generate.go#L73
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to get Working Directory %v\", err)" (err113)
Lints: internal/generate/generate.go#L85
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to open or create file %v\", err)" (err113)