Skip to content

Relax go directive to permit 1.24.x#4

Closed
Hayden-IO wants to merge 1 commit into
buildkite:mainfrom
Hayden-IO:patch-1
Closed

Relax go directive to permit 1.24.x#4
Hayden-IO wants to merge 1 commit into
buildkite:mainfrom
Hayden-IO:patch-1

Conversation

@Hayden-IO

Copy link
Copy Markdown

Setting this to 1.24.3 requires all consumers to be building with 1.24.3 or newer release of Go 1.24 and to update their own go.mod accordingly. This is unnecessarily restrictive - the go directive should be the minimum version necessary for the Go features used by the module, with consumers using the latest Go version when building.

With this fix, we can also update the go directive in buildkite/agent to 1.24.0, and further update dependents of buildkite/agent (for my use case, this is sigstore/cosign).

Setting this to 1.24.3 requires all consumers to be building with 1.24.3 or newer release of Go 1.24 and to update their own go.mod accordingly. This is unnecessarily restrictive - the go directive should be the minimum version necessary for the Go features used by the module, with consumers using the latest Go version when building.

With this fix, we can also update the go directive in buildkite/agent to 1.24.0, and further update dependents of buildkite/agent (for my use case, this is sigstore/cosign).
@Hayden-IO

Copy link
Copy Markdown
Author

Whoops, this is a dup of #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant