Skip to content

feat: add support for describe command #175

feat: add support for describe command

feat: add support for describe command #175

Triggered via pull request November 8, 2024 12:51
Status Failure
Total duration 3m 43s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 5 warnings
ci-build: pkg/cmd/cmd.go#L26
cobra redeclared in this block
ci-build: pkg/cmd/cmd.go#L24
other declaration of cobra
ci-build: pkg/cmd/cmd.go#L26
"github.com/spf13/cobra" imported and not used
ci-build
Process completed with exit code 2.
golangci-lint: pkg/cmd/alpha.go#L1
: # github.com/openkruise/kruise-tools/pkg/cmd
golangci-lint: pkg/cmd/cmd.go#L26
cobra redeclared in this block
golangci-lint: pkg/cmd/cmd.go#L24
other declaration of cobra
golangci-lint: pkg/cmd/cmd.go#L26
"github.com/spf13/cobra" imported and not used (typecheck)
golangci-lint: cmd/plugin/main.go#L22
could not import github.com/openkruise/kruise-tools/pkg/cmd (-: # github.com/openkruise/kruise-tools/pkg/cmd
golangci-lint: pkg/cmd/cmd.go#L26
cobra redeclared in this block
golangci-lint: pkg/cmd/cmd.go#L24
other declaration of cobra
golangci-lint: pkg/cmd/cmd.go#L26
"github.com/spf13/cobra" imported and not used) (typecheck)
golangci-lint: pkg/cmd/describe/describe_rollout.go#L388
unnecessary conversion (unconvert)
golangci-lint
issues found
golangci-lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
ci-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci-build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, 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/
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/