bump Go version to 1.22 #3090
Triggered via pull request
September 12, 2024 09:31
Status
Failure
Total duration
13m 40s
Artifacts
–
tests.yml
on: pull_request
Build docker image
1m 13s
dockerfile: lint
15s
golang: lint
2m 17s
Dependencies are up to date
1m 3s
Generated files are up to date
1m 2s
Go tests
9m 9s
kubernetes_resources: ./config/crd
39s
kubernetes_resources: ./config/rbac
36s
documentation: lint
16s
Matrix: kubernetes-resources
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)
|
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/
|
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/
|
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/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/
|
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/
|
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/
|
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/
|
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/[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/
|