Skip to content

chore: add mise.toml for runtime version management#13

Merged
thedavidweng merged 3 commits into
mainfrom
chore/mise-toml
Jun 20, 2026
Merged

chore: add mise.toml for runtime version management#13
thedavidweng merged 3 commits into
mainfrom
chore/mise-toml

Conversation

@thedavidweng

Copy link
Copy Markdown
Owner

No description provided.

@greptile-apps

greptile-apps Bot commented Jun 20, 2026

Copy link
Copy Markdown

Greptile Summary

This PR introduces mise.toml for runtime version management, pinning Go to 1.26.4 to match the version already declared in go.mod, and updates CONTRIBUTING.md to include mise install in the setup steps.

  • mise.toml: New file with a single [tools] entry that pins Go to 1.26.4, ensuring every developer and CI run uses the same toolchain version as the module definition.
  • CONTRIBUTING.md: Adds mise install before go mod download in the setup snippet so contributors know to run it; the Prerequisites note already references go.mod for the exact version.

Confidence Score: 5/5

Safe to merge — adds only a toolchain config file and a one-line doc update with no runtime impact.

The change is purely additive: a new mise.toml that mirrors the Go version already declared in go.mod, and a matching documentation update. No logic, no data paths, and no existing behaviour is modified.

No files require special attention.

Important Files Changed

Filename Overview
mise.toml New file pinning Go to 1.26.4, matching go.mod exactly — clean and reproducible.
CONTRIBUTING.md Adds mise install step to the setup instructions, keeping the contributor workflow in sync with the new mise.toml.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Developer clones repo] --> B[mise install]
    B --> C{mise.toml resolves go = 1.26.4}
    C --> D[Go 1.26.4 toolchain installed]
    D --> E[go mod download]
    E --> F[Build / Test / Contribute]

    G[go.mod: go 1.26.4] -.->|version must match| C
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[Developer clones repo] --> B[mise install]
    B --> C{mise.toml resolves go = 1.26.4}
    C --> D[Go 1.26.4 toolchain installed]
    D --> E[go mod download]
    E --> F[Build / Test / Contribute]

    G[go.mod: go 1.26.4] -.->|version must match| C
Loading

Reviews (3): Last reviewed commit: "docs: add mise to contributing guide" | Re-trigger Greptile

Comment thread mise.toml Outdated
@thedavidweng thedavidweng merged commit e0ecc7e into main Jun 20, 2026
9 checks passed
@thedavidweng thedavidweng deleted the chore/mise-toml branch June 20, 2026 18:14
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