Repository navigation
Update to latest go, GitHub actions, and linter. - #97
Merged
Merged
Conversation
This updates CI to test against Go 1.25 and removes the tests for Go 1.23 accordingly.
This updates to the following Github Actions: - actions/setup-go@4469467 # v6.0.0 - actions/checkout@08c6903 # v5.0.0
Since the module requires a minimum of Go 1.23 now, there is no longer any reason to keep the conditional compilation of the func to retrieve VCS commit ID on Go versions prior to 1.18 given it can't build on them anymore anyway. With that in mind, this moves the conditionally-compiled implementation for Go1.18+ into the main file so that it is always compiled as the only implementation and removes the old conditionally-compiled implementation for Go versions prior to 1.18.
Various changes in this new major version, including a new config file format: - "gofmt" and "goimports" are now categorized as formatters (instead of linters) and are moved to their own section. - The functionality of "gosimple" has been bundled into "staticcheck". Only the "gosimple" behaviour is enabled (prefix "S1") and all other "staticcheck" behaviour is disabled. - "typecheck" is now always on and cannot be independently enabled/disabled.
Includes source changes to make linter pass.
Includes source changes to make linter pass.
Includes source changes to make linter pass.
davecgh
approved these changes
Nov 14, 2025
Member
|
Nice job on this. Thanks for getting it all updated. |
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.
No description provided.