[cleanup] - Implement config struct for source Init #5336
lint.yml
on: pull_request
golangci-lint
39s
semgrep
17s
Annotations
10 errors and 2 warnings
golangci-lint:
pkg/engine/docker.go#L9
could not import github.com/trufflesecurity/trufflehog/v3/pkg/sources/docker (-: # github.com/trufflesecurity/trufflehog/v3/pkg/sources/docker
|
golangci-lint:
pkg/sources/docker/docker.go#L41
cannot use (*Source)(nil) (value of type *Source) as sources.Source value in variable declaration: *Source does not implement sources.Source (wrong type for method Init)
|
golangci-lint:
pkg/engine/travisci.go#L11
could not import github.com/trufflesecurity/trufflehog/v3/pkg/sources/travisci (-: # github.com/trufflesecurity/trufflehog/v3/pkg/sources/travisci
|
golangci-lint:
pkg/sources/travisci/travisci.go#L41
cannot use (*Source)(nil) (value of type *Source) as sources.Source value in variable declaration: *Source does not implement sources.Source (wrong type for method Init)
|
golangci-lint:
pkg/sources/chan_reporter.go#L1
: # github.com/trufflesecurity/trufflehog/v3/pkg/sources [github.com/trufflesecurity/trufflehog/v3/pkg/sources.test]
|
golangci-lint:
pkg/sources/source_manager_test.go#L91
cannot use source (variable of type *DummySource) as Source value in return statement: *DummySource does not implement Source (wrong type for method Init)
|
golangci-lint:
pkg/sources/docker/docker.go#L1
: # github.com/trufflesecurity/trufflehog/v3/pkg/sources/docker [github.com/trufflesecurity/trufflehog/v3/pkg/sources/docker.test]
|
golangci-lint:
pkg/sources/docker/docker.go#L41
cannot use (*Source)(nil) (value of type *Source) as sources.Source value in variable declaration: *Source does not implement sources.Source (wrong type for method Init)
|
golangci-lint:
pkg/sources/travisci/travisci.go#L1
: # github.com/trufflesecurity/trufflehog/v3/pkg/sources/travisci [github.com/trufflesecurity/trufflehog/v3/pkg/sources/travisci.test]
|
golangci-lint:
pkg/sources/travisci/travisci.go#L41
cannot use (*Source)(nil) (value of type *Source) as sources.Source value in variable declaration: *Source does not implement sources.Source (wrong type for method Init)
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/trufflehog/trufflehog. Supported file pattern: go.sum
|