Skip to content
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

Avoid requiring the latest Go toolchain patch version to build #1748

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

mtardy
Copy link
Member

@mtardy mtardy commented Nov 13, 2023

@mtardy mtardy added area/ci Related to CI release-note/ci This PR makes changes to the CI. labels Nov 13, 2023
@mtardy mtardy requested a review from a team as a code owner November 13, 2023 17:03
@mtardy mtardy requested a review from tixxdz November 13, 2023 17:03
@mtardy mtardy marked this pull request as draft November 13, 2023 17:04
@mtardy mtardy force-pushed the pr/mtardy/drop-go-mod-latest-version branch from cd23739 to 8f4d5a5 Compare November 13, 2023 17:12
@mtardy mtardy marked this pull request as ready for review November 13, 2023 17:13
[ port of cilium/cilium@924df33 ]

Nothing in the tree depends on newer patch releases of Go, so we can
keep this to the first patch release of this series.

Signed-off-by: Mahe Tardy <[email protected]>
[ port of cilium/cilium@91d7a49 ]

The goal here is to allow developer toolchains to have more flexibility
around the specific version of Go compared with the latest patch
releases.  Note that all of the real-world code and all tests will
continue to be updated to use the latest Go versions, it's just the
go.mod that will start to drift, since the code can actually compile
with earlier versions of Go; we don't require specific patch versions
based on the set of standard library features used in the code.

Signed-off-by: Mahe Tardy <[email protected]>
@mtardy mtardy merged commit 6b852d1 into main Nov 13, 2023
30 checks passed
@mtardy mtardy deleted the pr/mtardy/drop-go-mod-latest-version branch November 13, 2023 18:20
mtardy added a commit that referenced this pull request Dec 6, 2023
This reverts commit dd5ddc2.

This was a good idea but #1748 impacts this as we no longer update the
patch version in the go.mod directive. Thus the CI is running outdated
Go versions.
mtardy added a commit that referenced this pull request Dec 6, 2023
This reverts commit dd5ddc2.

This was a good idea but #1748 impacts this as we no longer update the
patch version in the go.mod directive. Thus the CI is running outdated
Go versions.

Signed-off-by: Mahe Tardy <[email protected]>
mtardy added a commit that referenced this pull request Dec 6, 2023
This reverts commit dd5ddc2.

This was a good idea but #1748 impacts this as we no longer update the
patch version in the go.mod directive. Thus the CI is running outdated
Go versions.

Signed-off-by: Mahe Tardy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Related to CI release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants