Skip to content

feat: upgrade to go 1.22 #62

feat: upgrade to go 1.22

feat: upgrade to go 1.22 #62

Triggered via pull request September 5, 2024 10:17
Status Failure
Total duration 3m 16s
Artifacts

build-and-test.yml

on: pull_request
build-and-test
3m 5s
build-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build-and-test: cmd/controller-manager/app/controller-manager.go#L412
undefined: metrics.NewListener (typecheck)
build-and-test: cmd/controller-manager/main.go#L29
could not import sigs.k8s.io/kubefed/cmd/controller-manager/app (-: # sigs.k8s.io/kubefed/cmd/controller-manager/app
build-and-test: cmd/controller-manager/app/controller-manager.go#L412
undefined: metrics.NewListener) (typecheck)
build-and-test: cmd/webhook/app/webhook.go#L78
unknown field Port in struct literal of type manager.Options
build-and-test: cmd/webhook/app/webhook.go#L79
unknown field CertDir in struct literal of type manager.Options (typecheck)
build-and-test: cmd/hyperfed/main.go#L39
could not import sigs.k8s.io/kubefed/cmd/controller-manager/app (-: # sigs.k8s.io/kubefed/cmd/controller-manager/app
build-and-test: cmd/controller-manager/app/controller-manager.go#L412
undefined: metrics.NewListener) (typecheck)
build-and-test: cmd/hyperfed/main.go#L40
could not import sigs.k8s.io/kubefed/cmd/webhook/app (-: # sigs.k8s.io/kubefed/cmd/webhook/app
build-and-test: cmd/webhook/app/webhook.go#L78
unknown field Port in struct literal of type manager.Options
build-and-test: cmd/webhook/app/webhook.go#L79
unknown field CertDir in struct literal of type manager.Options) (typecheck)
build-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/