erlef / setup-beam

Set up your BEAM-based GitHub Actions workflow (Erlang, Elixir, Gleam, ...)
MIT License
373 stars 50 forks source link

Support for mise / .mise.toml version files #252

Closed mogest closed 5 months ago

mogest commented 7 months ago

Description

setup-beam currently supports the asdf version file format. This PR extends it to also support the mise (previously known as rtx) format as well.

A new option, version-file-type has been added which takes the values asdf or mise. If it's not specified, it defaults to asdf (for backwards compatibility) and warns the user that it is defaulting.

A TOML parsing library has been included with the build to read the .mise.toml file. @iarna/toml was selected due to its relatively small unpacked file size and modern support.

For more details, the implementation strategy is laid out in issue #250.

Resolves #250

paulo-ferraz-oliveira commented 6 months ago

@mogest, do you still think you'll tackle this. It's Ok to close temporarily until you get around to it, if you want. In any case, as of this moment, you'd have to rebase since you've diverged from the main branch.

paulo-ferraz-oliveira commented 5 months ago

@mogest, this was left unhandled, and got stale due to several releases in the meantime. At this moment, it's got a bunch of merge conflicts that need resolving. I'm Close'ing as stale, with this comment. Feel free to re-open in case you wanna complete the previous changes. 👍