Skip to content

Fix handling of GitHub ratelimit information #5224

Fix handling of GitHub ratelimit information

Fix handling of GitHub ratelimit information #5224

Re-run triggered February 3, 2024 19:22
Status Failure
Total duration 1m 35s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
golangci-lint: pkg/sources/github/github.go#L1
: # github.com/trufflesecurity/trufflehog/v3/pkg/sources/github [github.com/trufflesecurity/trufflehog/v3/pkg/sources/github.test]
golangci-lint: pkg/sources/github/github_test.go#L333
too many arguments in call to s.handleRateLimit
golangci-lint: pkg/sources/github/github_test.go#L339
too many arguments in call to s.handleRateLimit
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, golangci/golangci-lint-action@v3. 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