Feat: add ci #1
ci.yaml
on: pull_request
Unit Test
8s
Golang Lint
1m 40s
License Check
38s
Secret Scan
10s
Annotations
9 errors and 2 warnings
Unit Test
Process completed with exit code 2.
|
License Check
Process completed with exit code 1.
|
Golang Lint:
pkg/frame/controller/resourceconsist_controller_suite_test.go#L114
S1009: should omit nil check; len() for []kusionstack.io/resourceconsist/pkg/frame/controller.IEmployer is defined as zero (gosimple)
|
Golang Lint:
pkg/frame/controller/resourceconsist_controller_suite_test.go#L137
S1009: should omit nil check; len() for []kusionstack.io/resourceconsist/pkg/frame/controller.IEmployer is defined as zero (gosimple)
|
Golang Lint:
pkg/frame/controller/resourceconsist_controller_suite_test.go#L160
S1009: should omit nil check; len() for []kusionstack.io/resourceconsist/pkg/frame/controller.IEmployer is defined as zero (gosimple)
|
Golang Lint:
pkg/frame/controller/resourceconsist_controller_suite_test.go#L249
S1009: should omit nil check; len() for []kusionstack.io/resourceconsist/pkg/frame/controller.IEmployee is defined as zero (gosimple)
|
Golang Lint:
pkg/frame/controller/resourceconsist_controller_suite_test.go#L273
S1009: should omit nil check; len() for []kusionstack.io/resourceconsist/pkg/frame/controller.IEmployee is defined as zero (gosimple)
|
Golang Lint:
pkg/frame/controller/resourceconsist_controller_suite_test.go#L298
S1009: should omit nil check; len() for []kusionstack.io/resourceconsist/pkg/frame/controller.IEmployee is defined as zero (gosimple)
|
Golang Lint
issues found
|
Unit Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
License Check
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|