Commit 50e629c
authored
ci: generate test fixtures from pinned leanSpec commit (#118)
Closes #115
## Summary
- Instead of downloading the latest `fixtures-prod-scheme` artifact from
leanSpec's CI (which could drift from our pinned version), we now
checkout leanSpec at the exact `LEAN_SPEC_COMMIT_HASH` from the Makefile
and generate fixtures in CI.
- The commit hash is extracted from the Makefile at runtime, keeping a
single source of truth.
- Two-layer caching strategy:
- **Fixture cache** (keyed on commit hash): skips all Python/uv steps
when the pinned version hasn't changed.
- **Production keys cache** (keyed on key URL hash): avoids
re-downloading keys when only the leanSpec commit changes.
This is similar to how leanSpec builds the fixtures in their CI:
https://github.com/leanEthereum/leanSpec/blob/2997030704db02d15ea4318bd05682586c887c0a/.github/workflows/prod-vectors.yml1 parent b0c575a commit 50e629c
1 file changed
Lines changed: 64 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
54 | 88 | | |
55 | | - | |
56 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
57 | 115 | | |
58 | 116 | | |
59 | 117 | | |
| |||
0 commit comments