Skip to content

chore: adopt v2 modules and modern Go CI - #7

Merged
stevenh merged 8 commits into
mainfrom
maintenance/combined-go-maintenance
Oct 24, 2026
Merged

stevenh merged 8 commits into
mainfrom
maintenance/combined-go-maintenance

Conversation

@stevenh

@stevenh stevenh commented Oct 23, 2026 •

Copy link
Copy Markdown

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.

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.
@stevenh stevenh changed the title ci: modernize Go tooling and CI chore: adopt v2 modules and modern Go CI Oct 24, 2026
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.
@stevenh
stevenh merged commit a8409ad into main Oct 24, 2026
5 checks passed
@stevenh
stevenh deleted the maintenance/combined-go-maintenance branch October 24, 2026 11:13
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