Modernize toolchain: bump go.mod and CI to supported versions - #7
Merged
Conversation
The module targeted go 1.14 and CI tested EOL Go 1.14-1.17 with v2-era actions. Update to Go's currently-supported line: - go.mod: go 1.14 -> go 1.25 (the code uses only long-standing stdlib, so this is purely a supported-baseline bump). - CI matrix: 1.14-1.17 -> 1.25, 1.26. - Bump actions to current majors: actions/checkout v2 -> v7, actions/setup-go v2 -> v7, golangci/golangci-lint-action v2 -> v9. - golangci-lint-action v9 runs golangci-lint v2 and no longer bundles Go, so add an explicit setup-go step to the lint job. - Set cache: false on setup-go; the module has no dependencies (no go.sum), so dependency caching has nothing to cache.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The module targeted go 1.14 and CI tested EOL Go 1.14-1.17 with v2-era actions. Update to Go's currently-supported line: