Skip to content

feat: self onboarding #493

feat: self onboarding

feat: self onboarding #493

Triggered via pull request August 20, 2024 13:55
Status Failure
Total duration 1m 37s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci: core/relation/service_test.go#L1
: # github.com/goto/shield/core/relation_test [github.com/goto/shield/core/relation.test]
golangci: core/relation/service_test.go#L70
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L85
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L137
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L152
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L169
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L187
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L231
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L244
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
golangci: core/relation/service_test.go#L291
cannot use authzRepository (variable of type *mocks.AuthzRepository) as relation.AuthzRepository value in argument to relation.NewService: *mocks.AuthzRepository does not implement relation.AuthzRepository (missing method CheckIsPublic)
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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']