Skip to content

chore: harmonize with caian-org baseline#12

Merged
upsetbit merged 8 commits into
masterfrom
chore/harmonize-baseline
May 26, 2026
Merged

chore: harmonize with caian-org baseline#12
upsetbit merged 8 commits into
masterfrom
chore/harmonize-baseline

Conversation

@upsetbit

Copy link
Copy Markdown
Member

Summary

Aligns tpsp with the caian-org repo baseline: shared dotfiles, expanded justfile, golangci config, enriched goreleaser (ldflags + checksum sha256 + grouped changelog), version metadata injection, unit tests, README refresh with shields.

Changes

  • Add .editorconfig, .envrc, .golangci.yml
  • Expand devbox scripts and .justfile targets (test, test-race, cover, lint, tidy, clean, run)
  • Inject Version/Commit/BuildDate via goreleaser ldflags; expose via --version
  • Enrich .goreleaser.yaml: before hooks, sha256 checksum, grouped changelog, archive README/LICENSE
  • Add unit tests with testify for color/format/filter/validation helpers
  • Refresh README with shields.io badges (CI / release / tag) and license block

Test plan

  • just build
  • just test
  • just lint
  • goreleaser check
  • CI green on PR

upsetbit and others added 8 commits May 26, 2026 17:12
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The v6 action with `version: latest` resolves to golangci-lint v1.64.8,
which is built with Go 1.24 and refuses to analyze Go 1.26 code. Move
to action @v9 which ships golangci-lint v2, and migrate the config to
the v2 schema via `golangci-lint migrate`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@upsetbit upsetbit merged commit 5941c44 into master May 26, 2026
2 checks passed
@upsetbit upsetbit deleted the chore/harmonize-baseline branch May 26, 2026 20:50
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