Skip to content

downgrade minimum go version and cleanup actions #138

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

Merged
merged 5 commits into from
Jun 26, 2025

Conversation

thaJeztah
Copy link
Contributor

@thaJeztah thaJeztah commented Jun 25, 2025

go.mod: don't enforce go1.23.5 patch version

commit 08fb086 (#131) added a go.mod, but
set the minimum required version to the patch version.

Generally, go versions in go.mod, like other dependencies, follow
"MVS" (minimum version selection) conventions, and specify the lowest
possible / supported minimum version. Keeping the version low avoids
unnecessary code churn in projects using this module.

gha: test against oldest supported and current go versions

Also set GOTOOLCHAIN to "local" to prevent changes in go.mod to
override the version used in tests.

gha: simplify selection of branches

Omit selecting branches; by default any branch is included.

gha: set default permissions to "read" only

gha: set default timeout

GitHub's default timeout is 6 hours, which is really long. Set a
more reasonable timeout to prevent "runnaway" runs from running
for hours before timing out.

commit 08fb086 added a go.mod, but
set the minimum required version to the patch version.

Generally, go versions in go.mod, like other dependencies, follow
"MVS" (minimum version selection) conventions, and specify the lowest
possible / supported minimum version. Keeping the version low avoids
unnecessary code churn in projects using this module.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Also set GOTOOLCHAIN to "local" to prevent changes in go.mod to
override the version used in tests.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Omit selecting branches; by default any branch is included.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
GitHub's default timeout is 6 hours, which is really long. Set a
more reasonable timeout to prevent "runnaway" runs from running
for hours before timing out.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
Copy link
Contributor Author

cc @cosmo0920 ptal

@cosmo0920 cosmo0920 merged commit d26a05c into fluent:master Jun 26, 2025
10 checks passed
@cosmo0920
Copy link
Contributor

Thank you!

@thaJeztah thaJeztah deleted the downgrade_min_go_version branch June 26, 2025 08:00
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.

2 participants