ci: use strict lockfile mode and regenerate mise.lock#2975
Open
michaeldwan wants to merge 1 commit intomainfrom
Open
ci: use strict lockfile mode and regenerate mise.lock#2975michaeldwan wants to merge 1 commit intomainfrom
michaeldwan wants to merge 1 commit intomainfrom
Conversation
mise upgraded its lockfile serialization format, causing mise.lock to be rewritten on every install -- dirtying the tree in CI and locally. Regenerate the lockfile with the current format and enable MISE_LOCKED=1 in all CI workflows so mise reads the lockfile without rewriting it. This replaces the git-checkout workaround added in #2964.
Contributor
|
All 6 workflows that use mise have been updated with The PR properly:
LGTM |
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.
mise changed its lockfile serialization format, so
mise lock/mise installrewritesmise.lockon every run -- dirtying the tree in CI and locally. This broke the v0.19.0 release build (#2963) and required a git-checkout workaround (#2964).Regenerate the lockfile with the current mise format and set
MISE_LOCKED=1in all CI workflows. In strict mode, mise reads the lockfile without rewriting it and fails fast if an entry is missing -- so stale lockfiles get caught immediately instead of silently resolved.The git-checkout workaround in release-build.yaml is no longer needed and is removed.