Skip to content

chore: added github-action for golangci-lint #21

chore: added github-action for golangci-lint

chore: added github-action for golangci-lint #21

Triggered via pull request October 16, 2024 07:35
@badal773badal773
synchronize #10
golangci-lint
Status Failure
Total duration 7m 5s
Billable time 7m
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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