Skip to content

chore: update code static analysis; update tests with new changes #4

chore: update code static analysis; update tests with new changes

chore: update code static analysis; update tests with new changes #4

Triggered via pull request December 20, 2023 19:01
Status Failure
Total duration 3m 42s
Artifacts

validations.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Validations: grant/evalutation/result_test.go#L28
cannot use &tc.ec.Policy (value of type *grant.Policy) as grant.Policy value in argument to grant.NewCases
Validations: grant/evalutation/result_test.go#L30
results.Pass undefined (type Results has no field or method Pass)
Validations: grant/evalutation/result_test.go#L31
results.Pass undefined (type Results has no field or method Pass)
Validations: grant/policy_test.go#L20
unknown field AllowLicenses in struct literal of type Policy
Validations: grant/policy_test.go#L21
unknown field DenyLicenses in struct literal of type Policy
Validations: grant/policy_test.go#L24
unknown field IgnoreLicenses in struct literal of type Policy
Validations: grant/policy_test.go#L25
unknown field denyAll in struct literal of type Policy
Validations: grant/policy_test.go#L39
got.denyAll undefined (type Policy has no field or method denyAll)
Validations: grant/policy_test.go#L40
got.denyAll undefined (type Policy has no field or method denyAll)
Validations: grant/policy_test.go#L62
unknown field AllowLicenses in struct literal of type Policy