Skip to content

fix more

fix more #3089

Triggered via push September 12, 2024 09:31
Status Failure
Total duration 12m 50s
Artifacts

tests.yml

on: push
Build docker image
1m 20s
Build docker image
dockerfile: lint
13s
dockerfile: lint
golang: lint
2m 34s
golang: lint
Dependencies are up to date
49s
Dependencies are up to date
Generated files are up to date
1m 24s
Generated files are up to date
Go tests
8m 47s
Go tests
kubernetes_resources: ./config/crd
36s
kubernetes_resources: ./config/crd
kubernetes_resources: ./config/rbac
42s
kubernetes_resources: ./config/rbac
documentation: lint
17s
documentation: lint
Matrix: kubernetes-resources
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 29 warnings
Generated files are up to date
Process completed with exit code 2.
golang: lint: apis/goharbor.io/v1beta1/harborcluster_webhook.go#L192
directive `//nolint:funlen,gocognit` is unused for linter "gocognit" (nolintlint)
golang: lint: controllers/goharbor/configuration/reconciler.go#L100
naked return in func `Reconcile` with 70 lines of code (nakedret)
golang: lint: controllers/goharbor/configuration/reconciler.go#L108
naked return in func `Reconcile` with 70 lines of code (nakedret)
golang: lint: controllers/goharbor/configuration/reconciler.go#L116
naked return in func `Reconcile` with 70 lines of code (nakedret)
golang: lint: controllers/goharbor/configuration/reconciler.go#L124
naked return in func `Reconcile` with 70 lines of code (nakedret)
golang: lint: controllers/goharbor/core/deployments.go#L442
G115: integer overflow conversion int -> int32 (gosec)
golang: lint: controllers/goharbor/harborserverconfiguration/harborserverconfiguration.go#L137
printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
golang: lint: controllers/goharbor/internal/test/harbor-core/mock.go#L74
G115: integer overflow conversion int64 -> int32 (gosec)
golang: lint: controllers/goharbor/internal/test/init.go#L19
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
golang: lint: controllers/goharbor/jobservice/deployments.go#L278
G115: integer overflow conversion int -> int32 (gosec)
dockerfile: lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dockerfile: lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/samples/harborcluster-minimal
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
kubernetes_resources: ./config/samples/harborcluster-minimal
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/samples/harborcluster-minimal
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
kubernetes_resources: ./config/samples/harborcluster-fullstack
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
kubernetes_resources: ./config/samples/harborcluster-fullstack
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/samples/harborcluster-fullstack
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
kubernetes_resources: ./config/samples/harborcluster-standard
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
kubernetes_resources: ./config/samples/harborcluster-standard
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/samples/harborcluster-standard
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
documentation: lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
documentation: lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/crd
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
kubernetes_resources: ./config/crd
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/crd
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
kubernetes_resources: ./config/rbac
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
kubernetes_resources: ./config/rbac
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, azure/k8s-bake@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
kubernetes_resources: ./config/rbac
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Dependencies are up to date
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Dependencies are up to date
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build docker image
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build docker image
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Generated files are up to date
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Generated files are up to date
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golang: lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golang: lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Go tests
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/
Go tests
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, helm/kind-action@v1.3.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/