Skip to content

chore: add mise for unified tool versioning#189

Merged
gregorydemay merged 2 commits into
mainfrom
chore/add-mise
May 22, 2026
Merged

chore: add mise for unified tool versioning#189
gregorydemay merged 2 commits into
mainfrom
chore/add-mise

Conversation

@gregorydemay
Copy link
Copy Markdown
Contributor

@gregorydemay gregorydemay commented May 21, 2026

Summary

Replace the bespoke taiki-e/install-action step (for cargo-sort) and the cargo install canbench step with a single jdx/mise-action step driven by a new mise.toml pinning Rust 1.93.0, cargo-sort 2.0.1, and canbench 0.4.1. Local development uses the same versions via mise install, so contributors and CI no longer diverge.

Follows the pattern used in dfinity/internet-intelligence and matches the migration already applied to dfinity/crosschain-wallet (#88) and dfinity/evm-rpc-canister (#589). Addresses DEFI-2821.

Replace the bespoke `taiki-e/install-action` step for cargo-sort and the
`cargo install canbench` step with a single `jdx/mise-action` step
driven by a new `mise.toml` pinning Rust, cargo-sort, and canbench.
Local development uses the same versions via `mise install`, addressing
DEFI-2821.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 21, 2026 14:15
@zeropath-ai
Copy link
Copy Markdown

zeropath-ai Bot commented May 21, 2026

No security or compliance issues detected. Reviewed everything up to f6a4a78.

Security Overview
Detected Code Changes
Change Type Relevant files
Configuration changes ► .github/workflows/ci.yml
    Replace direct tool installation with mise setup
► README.md
    Update installation instructions to use mise
► mise.toml
    Define tool versions for mise
Refactor ► .github/workflows/ci.yml
    Remove direct installation of cargo-sort and canbench

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@gregorydemay gregorydemay marked this pull request as ready for review May 21, 2026 14:56
@gregorydemay gregorydemay requested a review from a team as a code owner May 21, 2026 14:56
@gregorydemay gregorydemay requested a review from ielashi May 21, 2026 14:56
Copy link
Copy Markdown

@mbjorkqvist mbjorkqvist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gregorydemay!

Comment thread mise.toml Outdated
Drop the duplicate `rust = …` pin from `mise.toml` and enable mise's
idiomatic-version-file setting so the Rust version is read from
`rust-toolchain.toml`. Addresses review feedback on dfinity/evm-rpc-canister#589.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gregorydemay gregorydemay merged commit 6d6e365 into main May 22, 2026
12 checks passed
@gregorydemay gregorydemay deleted the chore/add-mise branch May 22, 2026 08:42
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.

3 participants