Skip to content

[1/2] Mise-fy toolchain + hk linters + GHA - #1

Merged
sherifabdlnaby merged 4 commits into
masterfrom
1-mise-fy-rules
Jul 11, 2026
Merged

[1/2] Mise-fy toolchain + hk linters + GHA#1
sherifabdlnaby merged 4 commits into
masterfrom
1-mise-fy-rules

Conversation

@sherifabdlnaby

@sherifabdlnaby sherifabdlnaby commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

Add mise + hk lint/format contract, replace Travis with GitHub Actions (check + test), and document setup in README/AGENTS.

Changes

  • New: mise.toml / mise.lock / hk.pkl with Go + recommended linters (gofumpt, golangci-lint, actionlint/zizmor/pinact, typos, rumdl, lychee offline, betterleaks, …)
  • New: .github/workflows/check.yml (report-only lint) and test.yml (go test -race)
  • Removed: .travis.yml
  • Docs: Development section in README + AGENTS.md
  • Modules: go 1.25.0 directive, vendor ## explicit markers, golang.org/x/sync for tidy
  • Fixed: go_fumpt check_diff so CI actually gates formatting (builtin was fix-only)

Note

Stacked under #2. Merge this first.

Repo was unarchived to open these PRs (it was read-only).

Tests & Validation
  • mise run setup / mise doctor clean
  • mise run check (staged) green
  • mise run test green
  • lychee offline reports non-zero OK (local links in AGENTS.md)

Relevant Links

  • Next: #2

🤖 Created with Cursor (Grok 4.5) on behalf of @sherifabdlnaby, fully autonomous, they have not reviewed this.

Replace Travis with mise + hk (check/test workflows) so local hooks and CI share one lint contract. Pin Go 1.25, sync go.mod/vendor markers for modern modules, and document setup in README/AGENTS.
@sherifabdlnaby sherifabdlnaby self-assigned this Jul 11, 2026
The hk builtin only defined fix, so CI and mise run check skipped formatting. Add check_diff via gofumpt -d.
Apply gofumpt, fix golangci ineffassign/staticcheck findings, and correct a typos hit so mise run check --all is green on the whole tree.
[2/2] Retrospective lint fixes for Go sources
@sherifabdlnaby
sherifabdlnaby marked this pull request as ready for review July 11, 2026 19:30
@sherifabdlnaby
sherifabdlnaby merged commit 5b14511 into master Jul 11, 2026
2 checks passed
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