dev: add mise config#7371
Merged
Merged
Conversation
Contributor
|
nit: Since mise supports it, could we put the config in |
Member
Author
Sure, good point. I'll do it tomorrow. |
Contributor
|
Cc @neongreen if Emily is interested. |
ilyagr
reviewed
Aug 27, 2025
3d1f90a to
dc57427
Compare
Member
Author
|
I've used nextest's |
ilyagr
reviewed
Aug 29, 2025
ilyagr
reviewed
Aug 29, 2025
ilyagr
reviewed
Aug 29, 2025
dc57427 to
110de92
Compare
fe34c26 to
56db29a
Compare
ilyagr
reviewed
Sep 1, 2025
The [vars] section is used to define the tool versions, and the tools are only declared in each task in order to be able to run a task and install only the required dependencies. This way mise build:docs only install the docs dependencies, but not the rust toolchain. The task are organized hierarchically, allowing to run all of the tasks in a category, for example with mise run "check:*" Some aliases for the most common tasks are defined in order to keep the command line short and easy to type. For example use mise test squash to run all the squash tests. Co-authored-by: Emily <artyom@artyom.me>
56db29a to
60ea68d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a continuation of #6081
I've tried to use the task hierarchy proposed by @arxanas in #6081 (comment) and used the
[vars]to define the tool versions in the tasks.The tools are only declared in each task in order to be able to build the docs without installing the rust toolchain for example.
There are still a few things that could be better:
mise run 'check:*'output is completely flooded by thenextestoutput when using the recommendedcargo insta test --test-runner nextest, and it becomes difficult to find the output of the other failed checks. Moreover, the check outputs are losing the coloring.baconChecklist
If applicable:
CHANGELOG.mdREADME.md,docs/,demos/)cli/src/config-schema.json)