Repository navigation
chore: adopt v2 modules and modern Go CI - #7
Merged
Merged
Conversation
Keeping the lint tool current preserves useful feedback during maintenance without forcing a module migration on this GOPATH-only package. Testing supported and current Go versions catches compatibility and toolchain regressions before release.
This was referenced Oct 23, 2026
Make the v2 package usable through Go modules without requiring a GOPATH checkout or changing its public API. Travis is no longer used. Cover the stable and oldstable Go releases with GitHub Actions to keep validation focused on supported toolchains.
Let hosted CI use the default Go concurrency and setup-go caching instead of carrying unnecessary overrides. Use the standard read helper to keep test input handling idiomatic. Require Go 1.16 to match the standard library API used by the tests.
Keep the intentional invalid input obvious in the panic regression test. The removed Travis lint job no longer needs a suppression.
Catch regressions during review without broad cleanup or weakening checks across the package. Exclude only the intentional odd-tag panic case so its invalid input remains explicit while other static analysis stays enabled.
Catch formatting, module drift, and inconsistent PR titles during review instead of relying on manual checks. Avoid redundant runs and cancel superseded work while preserving CI through the planned default branch rename from master to main.
The default branch is now main, so the temporary compatibility trigger is no longer needed.
Document the intentional invalid input at the call site instead of maintaining a separate lint exclusion configuration.
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.
Make the v2 package usable through Go modules without requiring a GOPATH checkout or changing its public API.
Travis is no longer used. Cover the stable and oldstable Go releases with GitHub Actions to keep validation focused on supported toolchains.