Skip to content

fix staticcheck & golint error #22856

fix staticcheck & golint error

fix staticcheck & golint error #22856

Triggered via push September 30, 2024 06:49
Status Failure
Total duration 4m 34s
Artifacts

cicd-push.yml

on: push
trigger-mode
12s
trigger-mode
Matrix: push-pre-check
check-helm  /  release-chart
3m 48s
check-helm / release-chart
apis-doc
49s
apis-doc
check-license-header
11s
check-license-header
check-dataprotection-image  /  release-image
check-dataprotection-image / release-image
check-image  /  release-image
check-image / release-image
check-tools-image  /  release-image
check-tools-image / release-image
Push Pre-Check
53s
Push Pre-Check
deploy-cn-kubeblocks-io  /  trigger-workflow
deploy-cn-kubeblocks-io / trigger-workflow
deploy-kubeblocks-io  /  trigger-workflow
deploy-kubeblocks-io / trigger-workflow
make-test
0s
make-test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
Push Pre-Check
Process completed with exit code 1.
push-pre-check (lint): cmd/manager/main.go#L613
viewReconciler.InformerManager.SetContext undefined (type view.InformerManager has no field or method SetContext) (typecheck)
push-pre-check (lint)
Process completed with exit code 2.
push-pre-check (staticcheck)
The job was canceled because "lint" failed.
push-pre-check (staticcheck)
The operation was canceled.
push-pre-check (test)
The job was canceled because "lint" failed.
push-pre-check (test)
The operation was canceled.
make-test
Process completed with exit code 1.
trigger-mode
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/cancel-workflow-action@0.11.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
push-pre-check (mod-vendor)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
push-pre-check (generate)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
apis-doc
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
push-pre-check (manifests)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
push-pre-check (lint)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-helm / release-chart
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/setup-helm@v3, actions/setup-go@v3, docker/login-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/