Add tests for common.go #8168
pr.yml
on: pull_request
license-check
/
License boilerplate check
10s
lint
/
Run golangci-lint
2m 52s
lint
/
Uncommitted changes check - go mod tidy & make gen
3m 25s
build
/
Verify build
1m 58s
test
/
Unit testing
9m 5s
test
/
Authz tests
2m 44s
image-build
/
Image build
3m 17s
image-build
/
Build Helm chart
3m 23s
image-build
/
Check docker image build
2m 35s
security
/
Security Scan
15s
compose-migrate
/
docker
2m 37s
Annotations
13 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#L34
test helper function should start from t.Helper() (thelper)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L57
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L147
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#L152
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#L174
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L210
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#L228
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L232
Function TestListPackagesByRepository missing the call to method parallel (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L306
Range statement for test TestListPackagesByRepository missing the call to method parallel in test Run (paralleltest)
|
lint / Run golangci-lint:
internal/providers/github/common_test.go#L331
Function TestGetPackageVersions missing the call to method parallel (paralleltest)
|
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 / Image build
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
|
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~P7EV56.dockerbuild
|
30.3 KB |
|