forge attest runs .forge/ci in a clean worktree of each commit and signs the result into refs/notes/ci; forge push sends it with the branch. Build deps (libghostty, stress data) live in ~/.cache/012/deps, outside the worktree, so runs don't rebuild them from source.
- commit
- 9131f06da03e78f229adcf74b3d46f03b39b12e4
- parent
- a63f866f8565d95d9d77880d47360f3bbb6f6f54
- author
- Dami <dami.etoile@gmail.com>
- kind
- build risk score 1.1 of 3, Jev's estimate
| A | .forge/ | 9 | +++++++++ |
@@ -0,0 +1,9 @@
1+2+# CI for src.rest. `forge attest` runs this in a clean worktree of each3+# commit, on your machine, and signs the result. It is make check, the gate4+# before a push. Build deps (libghostty, stress data) live in a cache outside5+# the worktree, so runs don't rebuild them from source.6+set -eu7+deps=${XDG_CACHE_HOME:-$HOME/.cache}/012/deps8+mkdir -p "$deps"9+exec make check DEPS="$deps"