Skip to content

bump Go version to 1.22 #3088

bump Go version to 1.22

bump Go version to 1.22 #3088

Triggered via pull request September 12, 2024 09:24
Status Failure
Total duration 11m 4s
Artifacts

tests.yml

on: pull_request
Build docker image
1m 18s
Build docker image
dockerfile: lint
13s
dockerfile: lint
golang: lint
2m 24s
golang: lint
Dependencies are up to date
55s
Dependencies are up to date
Generated files are up to date
57s
Generated files are up to date
Go tests
8m 52s
Go tests
kubernetes_resources: ./config/crd
36s
kubernetes_resources: ./config/crd
kubernetes_resources: ./config/rbac
42s
kubernetes_resources: ./config/rbac
documentation: lint
18s
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/v1alpha3/harbor_types.go#L659
unused-parameter: parameter 'component' seems to be unused, consider removing or renaming it as _ (revive)
golang: lint: apis/goharbor.io/v1alpha3/harbor_types_test.go#L6
dot-imports: should not use dot imports (revive)
golang: lint: apis/goharbor.io/v1alpha3/harbor_types_test.go#L7
dot-imports: should not use dot imports (revive)
golang: lint: apis/goharbor.io/v1alpha3/v1alpha3_suite_test.go#L6
dot-imports: should not use dot imports (revive)
golang: lint: apis/goharbor.io/v1alpha3/v1alpha3_suite_test.go#L7
dot-imports: should not use dot imports (revive)
golang: lint: apis/goharbor.io/v1beta1/harbor_types.go#L777
unused-parameter: parameter 'component' seems to be unused, consider removing or renaming it as _ (revive)
golang: lint: apis/goharbor.io/v1beta1/harborcluster_webhook.go#L192
directive `//nolint:funlen,gocognit` is unused for linter "gocognit" (nolintlint)
golang: lint: apis/goharbor.io/v1beta1/jobservice_webhook.go#L36
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
golang: lint: apis/goharbor.io/v1beta1/registry_webhook.go#L36
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
golang: lint: apis/goharbor.io/v1beta1/v1beta1_suite_test.go#L6
dot-imports: should not use dot imports (revive)
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-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/
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/
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/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/
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/
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/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/