Commit 87c2cf6
authored
ci(foundry): add forge build cache + 45min timeout (#123)
Foundry CI on main has been dying with exit 143 (SIGTERM) at the
'Run Forge build' step around 17min — symptoms consistent with
the runner OOM-killing solc on a 220-file via-IR build.
Adds an actions/cache@v4 step pinned to foundry.toml + soldeer.lock
+ src/test/script/dependencies hashes, restoring incremental
forge build state across runs. Also pins a 45min timeout so we get
a clear timeout signal instead of a generic SIGTERM if a future
build genuinely runs over.
If this still OOMs after the cache lands, next step is to switch
to a larger runner (ubuntu-latest-l) once that's enabled for the org.1 parent 9286c27 commit 87c2cf6
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
34 | 46 | | |
35 | 47 | | |
36 | 48 | | |
| |||
0 commit comments