fix #52
Annotations
10 errors and 2 warnings
golangci-lint:
common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
|
golangci-lint:
common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
|
golangci-lint:
builder/store/database/access_token_test.go#L10
could not import opencsg.com/csghub-server/common/tests (-: # opencsg.com/csghub-server/common/tests
|
golangci-lint:
common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
|
golangci-lint:
common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
|
golangci-lint:
component/wire_gen.go#L21
could not import opencsg.com/csghub-server/common/tests (-: # opencsg.com/csghub-server/common/tests
|
golangci-lint:
common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
|
golangci-lint:
common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
|
golangci-lint:
component/wire_gen.go#L40
cannot use mockTagComponent (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/component".MockTagComponent) as TagComponent value in argument to NewTestRepoComponent: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/component".MockTagComponent does not implement TagComponent (missing method AllTagsByScopeAndCategory) (typecheck)
|
golangci-lint:
component/wire_gen.go#L128
cannot use mockDeployer (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/deploy".MockDeployer) as "opencsg.com/csghub-server/builder/deploy".Deployer value in argument to NewTestUserComponent: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/deploy".MockDeployer does not implement "opencsg.com/csghub-server/builder/deploy".Deployer (missing method DeleteEvaluation) (typecheck)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/csghub-server/csghub-server. Supported file pattern: go.sum
|
Loading