Skip to content

refactor: user servicedata service to serve metadata #412

refactor: user servicedata service to serve metadata

refactor: user servicedata service to serve metadata #412

Triggered via pull request June 15, 2024 06:43
Status Failure
Total duration 38s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci: core/user/service_test.go#L1
: # github.com/goto/shield/core/user_test [github.com/goto/shield/core/user.test]
golangci: core/user/service_test.go#L63
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L100
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L123
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L141
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L209
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L237
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L297
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L327
cannot use repository (variable of type *mocks.Repository) as user.Repository value in argument to user.NewService: *mocks.Repository does not implement user.Repository (wrong type for method List)
golangci: core/user/service_test.go#L343
not enough arguments in call to svc.List
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
golangci
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']