Skip to content

model consumption in path expansion #1321

model consumption in path expansion

model consumption in path expansion #1321

Triggered via pull request November 20, 2023 20:48
Status Failure
Total duration 2m 10s
Artifacts

staticcheck.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
staticcheck: pkg/engine2/construct_expansion/construct_expansion.go#L85
undefined: construct.CreateResource (compile)
staticcheck: pkg/engine2/enginetesting/test_solution.go#L40
cannot use &sol.KB (value of type *MockKB) as knowledgebase2.TemplateKB value in return statement: *MockKB does not implement knowledgebase2.TemplateKB (missing method GetModel)
staticcheck: pkg/engine2/enginetesting/test_solution.go#L58
cannot use testOperationalView{…} (value of type testOperationalView) as solution_context.OperationalView value in return statement: testOperationalView does not implement solution_context.OperationalView (missing method MakeEdgesOperational) (compile)
staticcheck: pkg/engine2/operational_eval/graph_test.go#L22
unknown field DAG in struct literal of type knowledgebase2.DynamicValueContext
staticcheck: pkg/engine2/operational_eval/graph_test.go#L75
unknown field Path in struct literal of type propertyVertex
staticcheck: pkg/engine2/operational_eval/graph_test.go#L76
cannot use knowledgebase.Property{…} (value of type knowledgebase2.Property) as *knowledgebase2.Property value in struct literal
staticcheck: pkg/engine2/operational_eval/graph_test.go#L81
unknown field Constraints in struct literal of type propertyVertex
staticcheck: pkg/engine2/operational_eval/graph_test.go#L84
v.depsForProp undefined (type *propertyVertex has no field or method depsForProp) (compile)
staticcheck: pkg/construct2/graph_vertices.go#L178
error var StopWalk should have name of the form ErrFoo (ST1012)
staticcheck: pkg/construct2/properties.go#L180
default case should be first or last in switch statement (ST1015)
staticcheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/