Skip to content

mise.lock format updates changing git status #472

@taiidani

Description

@taiidani

Hello! My team is currently using setup-mise with the vanilla setup. We like that this is bringing in the newest version of the mise binary and would prefer not to adopt the toil of locking it to a version and remembering to bump it.

- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1

Unfortunately, this means that any time a new version of mise releases and changes the lock file format, it will emit the new lock file into the working copy and put git into a dirty state. This has downstream effects on any workflow that is sensitive to files being changed - GoReleaser being the most painful example since we have it running on a tag push.

Is there a way to have setup-mise not emit the new lock file and instead, say, error if the actual dependencies have diverged? I'm thinking behavior similar to npm ci. Something that makes the installation less sensitive to no-op formatting changes in the lock file.

Here are two recent examples that forced our team to swarm and PR all of our repositories:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions