Skip to content

bump Go version to 1.22 #3084

bump Go version to 1.22

bump Go version to 1.22 #3084

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

tests.yml

on: pull_request
Build docker image
1m 22s
Build docker image
dockerfile: lint
16s
dockerfile: lint
golang: lint
2m 48s
golang: lint
Dependencies are up to date
1m 3s
Dependencies are up to date
Generated files are up to date
1m 4s
Generated files are up to date
Go tests
0s
Go tests
kubernetes_resources: ./config/crd
39s
kubernetes_resources: ./config/crd
kubernetes_resources: ./config/rbac
44s
kubernetes_resources: ./config/rbac
documentation: lint
20s
documentation: lint
Matrix: kubernetes-resources
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 27 warnings
Go tests
This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
Generated files are up to date
Process completed with exit code 2.
golang: lint: apis/goharbor.io/v1alpha3/chartmuseum_conversion.go#L4
import 'github.com/goharbor/harbor-operator/pkg/convert' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/chartmuseum_conversion.go#L5
import 'sigs.k8s.io/controller-runtime/pkg/conversion' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/chartmuseum_types.go#L4
import 'github.com/goharbor/harbor-operator/apis/meta/v1alpha1' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/chartmuseum_types.go#L5
import 'k8s.io/api/core/v1' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/chartmuseum_types.go#L6
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/core_conversion.go#L4
import 'github.com/goharbor/harbor-operator/pkg/convert' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/core_conversion.go#L5
import 'sigs.k8s.io/controller-runtime/pkg/conversion' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/core_types.go#L4
import 'github.com/goharbor/harbor-operator/apis/meta/v1alpha1' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/core_types.go#L5
import 'k8s.io/apimachinery/pkg/apis/meta/v1' is not allowed from list 'Main' (depguard)
golang: lint: apis/goharbor.io/v1alpha3/exporter_conversion.go#L4
import 'github.com/goharbor/harbor-operator/pkg/convert' is not allowed from list 'Main' (depguard)
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-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/
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/