update isAdmin #93
Annotations
20 errors and 3 warnings
lint:
common/tests/stores.go#L47
cannot use mockdb.NewMockRepoStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
lint:
common/tests/stores.go#L85
impossible type assertion: s.Repo.(*mockdb.MockRepoStore)
|
lint:
builder/store/database/access_token_test.go#L10
could not import opencsg.com/csghub-server/common/tests (-: # opencsg.com/csghub-server/common/tests
|
lint:
common/tests/stores.go#L47
cannot use mockdb.NewMockRepoStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
lint:
common/tests/stores.go#L85
impossible type assertion: s.Repo.(*mockdb.MockRepoStore)
|
lint:
builder/store/database/repository_test.go#L328
not enough arguments in call to rs.PublicToUser
|
lint:
builder/store/database/repository_test.go#L341
not enough arguments in call to rs.PublicToUser
|
lint:
builder/store/database/repository_test.go#L447
not enough arguments in call to store.PublicToUser
|
lint:
component/wireset.go#L23
could not import opencsg.com/csghub-server/common/tests (-: # opencsg.com/csghub-server/common/tests
|
lint:
common/tests/stores.go#L47
cannot use mockdb.NewMockRepoStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
common/tests/stores.go#L47
cannot use mockdb.NewMockRepoStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
common/tests/stores.go#L85
impossible type assertion: s.Repo.(*mockdb.MockRepoStore)
|
test (1.21.x):
moderation/component/repo_file_test.go#L29
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
moderation/component/repo_file_test.go#L74
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
moderation/component/repo_file_test.go#L104
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
moderation/component/repo_file_test.go#L143
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
moderation/component/repo_file_test.go#L183
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
moderation/component/repo_test.go#L136
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x):
moderation/component/repo_test.go#L164
cannot use mockRepoStore (variable of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore) as "opencsg.com/csghub-server/builder/store/database".RepoStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockRepoStore does not implement "opencsg.com/csghub-server/builder/store/database".RepoStore (wrong type for method PublicToUser)
|
test (1.21.x)
Process completed with exit code 1.
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/csghub-server/csghub-server. Supported file pattern: go.sum
|
test (1.21.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|