feat(generate): generate pkl testing #1218
main.yaml
on: pull_request
Test Release Process
3m 59s
verification-with-cosign
0s
verification-with-slsa-verifier
0s
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)
|