chore: added github-action for golangci-lint #20
Annotations
10 errors and 1 warning
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
cannot use commits (variable of type []*"github.com/devtron-labs/git-sensor/pkg/git".GitCommit) as []*"github.com/devtron-labs/git-sensor/pkg/git".GitCommitBase value in struct literal
|
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
commits[0].FileStats undefined (type *"github.com/devtron-labs/git-sensor/pkg/git".GitCommit is pointer to interface, not interface)
|
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
gitCommit.FileStats undefined (type "github.com/devtron-labs/git-sensor/pkg/git".GitCommit has no field or method FileStats)
|
lint
cannot use repositoryManager (variable of type *mocks.RepoManager) as pkg.RepoManager value in argument to initServer: *mocks.RepoManager does not implement pkg.RepoManager (wrong type for method AddRepo)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/devtron-services/devtron-services. Supported file pattern: go.sum
|