-
Notifications
You must be signed in to change notification settings - Fork 1.6k
✨ Upgrade scaffolds to use go 1.23 #4446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Build the manager binary | ||
| FROM golang:1.22 AS builder | ||
| FROM golang:1.23 AS builder | ||
| ARG TARGETOS | ||
| ARG TARGETARCH | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Build the manager binary | ||
| FROM golang:1.22 AS builder | ||
| FROM golang:1.23 AS builder | ||
| ARG TARGETOS | ||
| ARG TARGETARCH | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Build the manager binary | ||
| FROM golang:1.22 AS builder | ||
| FROM golang:1.23 AS builder | ||
| ARG TARGETOS | ||
| ARG TARGETARCH | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Build the manager binary | ||
| FROM golang:1.22 AS builder | ||
| FROM golang:1.23 AS builder | ||
| ARG TARGETOS | ||
| ARG TARGETARCH | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Build the manager binary | ||
| FROM golang:1.22 AS builder | ||
| FROM golang:1.23 AS builder | ||
| ARG TARGETOS | ||
| ARG TARGETARCH | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Build the manager binary | ||
| FROM golang:1.22 AS builder | ||
| FROM golang:1.23 AS builder | ||
| ARG TARGETOS | ||
| ARG TARGETARCH | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| module sigs.k8s.io/kubebuilder/testdata/project-v4 | ||
|
|
||
| go 1.22.0 | ||
| go 1.23.0 | ||
|
|
||
| godebug default=go1.23 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. curious what does that do when you also have go 1.23.0 ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why would we need to set the patch for debug?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I should have clarified: I am asking why you added these (I am not talking about patchlevel at all)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. opened #4786 - ty |
||
|
|
||
| require ( | ||
| github.com/cert-manager/cert-manager v1.16.2 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be better to use
go-version-file: go.mod?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to push a PR with this change?
Yes, that it would be better if work out in this case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, can work on that next week