Skip to content

Cloudfront gateway #1335

Cloudfront gateway

Cloudfront gateway #1335

Triggered via pull request November 21, 2023 21:52
Status Failure
Total duration 1m 52s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/engine2/enginetesting/mock_kb.go#L1
: # github.com/klothoplatform/klotho/pkg/engine2/enginetesting
lint: 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)
lint: 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) (typecheck)
lint: pkg/engine2/constraints_test.go#L9
could not import github.com/klothoplatform/klotho/pkg/engine2/enginetesting (-: # github.com/klothoplatform/klotho/pkg/engine2/enginetesting
lint: 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)
lint: 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)) (typecheck)
lint: pkg/engine2/construct_expansion/construct_expansion_test.go#L8
could not import github.com/klothoplatform/klotho/pkg/engine2/enginetesting (-: # github.com/klothoplatform/klotho/pkg/engine2/enginetesting
lint: 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)
lint: 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)) (typecheck)
lint: pkg/engine2/construct_expansion/construct_expansion.go#L85
undefined: construct.CreateResource (typecheck)
lint
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/