Repository navigation
feat: cache opt-out for setup-toolchain, mise.toml audit, toolchain lockfile - #252
Merged
Merged
Conversation
…ockfile - setup-toolchain gains a cache input so privileged jobs (release and publish paths) can opt out of restoring caches another run could have seeded, instead of bypassing the action - compliance-audit flags repos that call the mise-based shared workflows or the setup-toolchain action without committing a .mise.toml - this repo's toolchain is now checksum-locked (mise.lock, settings lockfile = true), covering linux CI and macOS workstation platforms
2 of 4 tasks
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.
Summary
First of two PRs implementing the remaining toolchain improvements (PR-B with the breaking changes follows once this releases as v2.1.0 — publish-node needs a released SHA of the action that has the new input).
setup-toolchaingains acacheinput (default"true"). Passed through tomise-actionand gating the pnpm store cache steps. Lets privileged jobs (publish/release paths) use the action withcache: "false"instead of bypassing it — follow-up PR pointspublish-node.ymlback at the action.mise.toml: a repo whose workflows reference the mise-based shared workflows (ci-node,publish-node,ci-markdown,ci-opentofu,ci-terraform) orsetup-toolchainwithout a committed.mise.toml/mise.tomlis flagged — the gap that bit smallbiz-suite's terraform job[settings] lockfile = truein.mise.toml+ committedmise.lockwith sha256 checksums for all platforms (linux CI and macOS workstation), per the security checklist's lock-file bar.mise.lockadded toci.ymlpath filtersTest plan
actionlintcleanmise lockgenerated and verified locally (7 targets checked)test-markdownexercises the modified action with cache enabled (default path) and the lockfile present