refactor(cardinal): consolidate test components #176
ci-go.yaml
on: pull_request
Lint (go)
16s
Unit Test (go)
52s
Validate (Swagger)
42s
E2E (Nakama)
1m 24s
Annotations
17 errors and 2 warnings
Lint (go):
cardinal/testsuite/components.go#L1
: # pkg.world.dev/world-engine/cardinal/testsuite [pkg.world.dev/world-engine/cardinal/testsuite.test]
|
Lint (go):
cardinal/testsuite/components_test.go#L154
cannot use &LocationComponent{} (value of type *LocationComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *LocationComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
|
Lint (go):
cardinal/testsuite/components_test.go#L155
cannot use &ValueComponent{} (value of type *ValueComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *ValueComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
|
Lint (go):
cardinal/testsuite/components_test.go#L156
cannot use &PowerComponent{} (value of type *PowerComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *PowerComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
|
Lint (go):
cardinal/testsuite/components_test.go#L157
undefined: HealthComponent
|
Lint (go):
cardinal/testsuite/components_test.go#L158
undefined: SpeedComponent
|
Lint (go):
cardinal/testsuite/components_test.go#L159
undefined: TestComponent
|
Lint (go):
cardinal/testsuite/components_test.go#L160
undefined: TestTwoComponent (typecheck)
|
Lint (go)
issues found
|
Unit Test (go)
cannot use &LocationComponent{} (value of type *LocationComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *LocationComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
|
Unit Test (go)
cannot use &ValueComponent{} (value of type *ValueComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *ValueComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
|
Unit Test (go)
cannot use &PowerComponent{} (value of type *PowerComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *PowerComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
|
Unit Test (go)
undefined: HealthComponent
|
Unit Test (go)
undefined: SpeedComponent
|
Unit Test (go)
undefined: TestComponent
|
Unit Test (go)
undefined: TestTwoComponent
|
Unit Test (go)
Process completed with exit code 2.
|
Validate (Swagger)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Validate (Swagger)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|