Skip to content

bump Go version to 1.22 #3086

bump Go version to 1.22

bump Go version to 1.22 #3086

Triggered via pull request September 12, 2024 09:16
Status Failure
Total duration 15m 38s
Artifacts

tests.yml

on: pull_request
Build docker image
1m 14s
Build docker image
dockerfile: lint
14s
dockerfile: lint
golang: lint
2m 23s
golang: lint
Dependencies are up to date
52s
Dependencies are up to date
Generated files are up to date
54s
Generated files are up to date
Go tests
11m 18s
Go tests
kubernetes_resources: ./config/crd
41s
kubernetes_resources: ./config/crd
kubernetes_resources: ./config/rbac
36s
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/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)
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/
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/
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/
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/