Commit f679205
committed
ci(idris): add fast proof-check gate over all Proofs.idr (#145)
Adds a dedicated `proof-check` job to idris2-ci.yml that type-checks every
src/**/Proofs.idr (glob-discovered) with `idris2 -p contrib -p network
--check`, in parallel with the slow full `build`.
Closes the gap that let #127's swapped-arg `appendLengthInc` reach main:
the full build was too slow to gate (merges outraced it while queued), and
the explicit per-module --check list covered ZERO Proofs.idr files — exactly
the modules the discharge campaign edits each PR.
The job never installs proven and never caches build/, so a stale cache
cannot mask a source-level break. Documents the decision as ADR-004; the
remaining step (make proof-check a REQUIRED status check via branch
protection) is an admin action tracked in #145.
Refs #145, #144, #127.
https://claude.ai/code/session_01MN5vzRR4MK2dkDNaHqqRDy1 parent dc1502f commit f679205
1 file changed
Lines changed: 70 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
97 | 167 | | |
98 | 168 | | |
99 | 169 | | |
| |||
0 commit comments