Skip to content

[cleanup] - Implement config struct for source Init #5338

[cleanup] - Implement config struct for source Init

[cleanup] - Implement config struct for source Init #5338

Triggered via pull request February 9, 2024 01:43
Status Failure
Total duration 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
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/s3/s3_test.go#L35
field `name` is unused (unused)
golangci-lint
issues found
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