Chore: Update the go version to 1.22 #369
Annotations
11 errors and 5 warnings
lint:
api/v1alpha1/types.go#L24
could not import github.com/kubevela/workflow/api/condition (-: cannot compile Go 1.22 code) (typecheck)
|
lint:
api/v1alpha1/types.go#L232
wr.Status.SetConditions undefined (type WorkflowRunStatus has no field or method SetConditions) (typecheck)
|
lint:
api/v1alpha1/types.go#L237
wr.Status.GetCondition undefined (type WorkflowRunStatus has no field or method GetCondition) (typecheck)
|
lint:
pkg/features/controller_features.go#L1
: cannot compile Go 1.22 code (typecheck)
|
lint:
pkg/types/types.go#L35
could not import github.com/kubevela/workflow/pkg/features (-: cannot compile Go 1.22 code) (typecheck)
|
lint:
pkg/types/types.go#L36
could not import github.com/kubevela/workflow/pkg/tasks/template (-: cannot compile Go 1.22 code) (typecheck)
|
lint:
pkg/monitor/metrics/workflow.go#L1
: cannot compile Go 1.22 code (typecheck)
|
lint:
pkg/common/logs.go#L1
: cannot compile Go 1.22 code (typecheck)
|
lint:
pkg/monitor/watcher/workflow.go#L31
could not import github.com/kubevela/workflow/pkg/monitor/metrics (-: cannot compile Go 1.22 code) (typecheck)
|
lint:
version/version.go#L1
: cannot compile Go 1.22 code (typecheck)
|
staticcheck
Process completed with exit code 1.
|
detect-noop
The following actions uses Node.js version which is deprecated and will be forced to run on node20: fkirc/[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/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@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/
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
staticcheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@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/
|
staticcheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|