-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Pin delve to match go minor version #8725
🌱 Pin delve to match go minor version #8725
Conversation
Signed-off-by: killianmuldoon <[email protected]>
@@ -166,8 +166,9 @@ def load_provider_tiltfiles(): | |||
tilt_helper_dockerfile_header = """ | |||
# Tilt image | |||
FROM golang:1.20.3 as tilt-helper | |||
# Install delve. Note this should be kept in step with the Go release minor version. | |||
RUN go install github.com/go-delve/delve/cmd/[email protected] |
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.
Do you know why this works? The tag seems to be v1.20.0 (or v1.20.1 / v1.20.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.
From https://go.dev/ref/mod#version-queries
A version query may be one of the following:
- A fully-specified semantic version, such as v1.2.3, which selects a specific version. See Versions for syntax.
- A semantic version prefix, such as v1 or v1.2, which selects the highest available version with that prefix.
- A semantic version comparison, such as <v1.2.3 or >=v1.5.6, which selects the nearest available version to the comparison target (the lowest version for > and >=, and the highest version for < and <=).
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.
Nice!
/lgtm |
LGTM label has been added. Git tree hash: 5918b5f330b97fa589cede8157397c40415d8d54
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pin delve to use Golang v1.20.
Note: This version should be kept in line with the Go minor version used.
Fixes #8723
/area devtools