Add tests for common.go #8072
Annotations
8 errors and 1 warning
golangci-lint:
internal/providers/github/common_test.go#L30
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
internal/providers/github/common_test.go#L53
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L143
unused-parameter: parameter 'th' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/providers/github/common_test.go#L148
Range statement for test TestWaitForRateLimitReset missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L171
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L207
Range statement for test TestPerformWithRetry missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L225
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading