jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
8.11k stars 214 forks source link

namespace in toml used for custom config #2342

Open y-nk opened 6 days ago

y-nk commented 6 days ago

I'm trying to use mise in CI, and one of the thing i'd like to get done is dependency caching in my monorepo. For this, i have thought of adding a field in .mise.toml in each workspace, and read the values to feed them to actions/cache@v3

The idea overall is:

image

then in CI:

image

which i think, is not that much invasive and pretty straightforward.

The issue i'm having is that the .mise.toml file gets validated and this gets in the way.

image

I'd like to request that one namespace (of choice of mise) could be left open ([custom], [misc]) so that we could reuse the toml file to build upon it.