Repository navigation
Commit 2c8f408
authored
Pin bin/ci's tool versions in .mise.toml (#649)
bin/ci fails cold in a fresh worktree: mise shims for actionlint, shellcheck,
and pwsh exist machine-wide but no version is pinned for this project, so each
one dies with "No version is set for shim". shellcheck isn't even invoked by
the repo directly — actionlint shells out to it to lint workflow run: blocks,
so the broken shim takes actionlint down with it. zizmor is worse than
unpinned: make lint-actions hard-fails without it and make tools can't install
it (brew/pacman only).
Pin all four in [tools] so mise install makes bin/ci self-sufficient:
* actionlint 1.7.12 — matches the .github/workflows/test.yml action pin
* shellcheck 0.11.0 — actionlint's dependency; CI uses the runner's preinstall
* powershell 7.6.5 — no CI pin to mirror (runners preinstall pwsh); turns the
three fail-closed-in-CI installer.bats pwsh tests into locally-running tests
* zizmor 1.29.0 — also pinned via the workflow's version input, matching what
CI already ran: the action resolves its version (including the "latest"
default) through a digest map checked in at its pinned SHA, where "latest"
maps to 1.29.0. The explicit pin keeps the release from shifting when the
action SHA is bumped and keeps local bin/ci on the same analyzer as CI.
Each pin carries a sync comment mirroring the existing goreleaser convention.1 parent 3008d9b commit 2c8f408
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments