Skip to content

Feat: add ci

Feat: add ci #1

Triggered via pull request November 1, 2023 08:13
@WeichengWang1WeichengWang1
synchronize #7
addci
Status Failure
Total duration 1m 51s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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.