Skip to content

refactor(cardinal): consolidate test components #178

refactor(cardinal): consolidate test components

refactor(cardinal): consolidate test components #178

Triggered via pull request December 11, 2024 06:44
Status Failure
Total duration 1m 37s
Artifacts

ci-go.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
Unit Test (go)
Process completed with exit code 2.
Lint (go): cardinal/testsuite/components.go#L164
string `test` has 3 occurrences, make it a constant (goconst)
Lint (go): cardinal/testsuite/utils.go#L137
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint (go): cardinal/testsuite/utils.go#L122
Magic number: 5, in <argument> detected (mnd)
Lint (go): cardinal/testsuite/utils.go#L127
Magic number: 100, in <argument> detected (mnd)
Lint (go)
issues found
Validate (Swagger)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Validate (Swagger)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint (go): cardinal/testsuite/components_test.go#L306
unused-parameter: parameter 'entityID' seems to be unused, consider removing or renaming it as _ (revive)