@@ -23,18 +23,18 @@ jobs:
2323 node-version : 22
2424 package-manager-cache : false
2525 # Install only pnpm, not the repo's full toolchain — Node comes from
26- # actions/setup-node, which pins the version this job needs.
27- # Appending only pnpm's directory to PATH keeps mise's own Node
28- # (mise.toml pins "latest") from ever shadowing setup-node's.
26+ # actions/setup-node. See mise.toml for why, and for why PATH order is
27+ # not what makes it safe.
2928 - name : Setup mise
3029 uses : jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 # v4.2.4
3130 with :
3231 install : false
3332 # Caching is disabled in this workflow only. zizmor's cache-poisoning
3433 # audit flags a restorable cache in a job that publishes artifacts
3534 # built at runtime, which is also why the setup-node steps here set
36- # package-manager-cache: false. Caching stays on in test.yml and
37- # lint.yml, where it is a real speed win and is not flagged.
35+ # package-manager-cache: false. test.yml and lint.yml leave the
36+ # default, which zizmor does not flag -- though with install: false
37+ # mise-action never writes a cache there either.
3838 cache : false
3939 - name : Install pnpm
4040 env :
@@ -81,18 +81,18 @@ jobs:
8181 echo "npm $npm_version (need >= 11.5.1 for OIDC trusted publishing)"
8282 printf '11.5.1\n%s\n' "$npm_version" | sort -V -C
8383 # Install only pnpm, not the repo's full toolchain — Node comes from
84- # actions/setup-node, which pins the version this job needs.
85- # Appending only pnpm's directory to PATH keeps mise's own Node
86- # (mise.toml pins "latest") from ever shadowing setup-node's.
84+ # actions/setup-node. See mise.toml for why, and for why PATH order is
85+ # not what makes it safe.
8786 - name : Setup mise
8887 uses : jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 # v4.2.4
8988 with :
9089 install : false
9190 # Caching is disabled in this workflow only. zizmor's cache-poisoning
9291 # audit flags a restorable cache in a job that publishes artifacts
9392 # built at runtime, which is also why the setup-node steps here set
94- # package-manager-cache: false. Caching stays on in test.yml and
95- # lint.yml, where it is a real speed win and is not flagged.
93+ # package-manager-cache: false. test.yml and lint.yml leave the
94+ # default, which zizmor does not flag -- though with install: false
95+ # mise-action never writes a cache there either.
9696 cache : false
9797 - name : Install pnpm
9898 env :
0 commit comments