Add tests for common.go #8072
pr.yml
on: pull_request
license-check
/
License boilerplate check
17s
lint
/
Run golangci-lint
2m 50s
lint
/
Uncommitted changes check - go mod tidy & make gen
3m 36s
build
/
Verify build
1m 57s
test
/
Unit testing
8m 55s
test
/
Authz tests
2m 49s
image-build
/
Image build
3m 13s
image-build
/
Build Helm chart
3m 18s
image-build
/
Check docker image build
2m 16s
security
/
Security Scan
14s
compose-migrate
/
docker
2m 34s
Annotations
11 errors and 10 warnings
license-check / License boilerplate check
Process completed with exit code 1.
|
security / Security Scan
Process completed with exit code 1.
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L30
test helper function should start from t.Helper() (thelper)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L53
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L143
unused-parameter: parameter 'th' seems to be unused, consider removing or renaming it as _ (revive)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L148
Range statement for test TestWaitForRateLimitReset missing the call to method parallel in test Run (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L171
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L207
Range statement for test TestPerformWithRetry missing the call to method parallel in test Run (paralleltest)
|
lint / Run 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)
|
lint / Run golangci-lint
issues found
|
test / Unit testing
Process completed with exit code 2.
|
license-check / License boilerplate check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build / Verify build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
image-build / Check docker image build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
compose-migrate / docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint / Run golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test / Authz tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
image-build / Build Helm chart
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
image-build / Image build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint / Uncommitted changes check - go mod tidy & make gen
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test / Unit testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
mindersec~minder~SYSHQM.dockerbuild
|
30 KB |
|