Commit 942a86c
authored
ci: aggregate check workflow (#290)
## What changed
- Added generated `checks.x86_64-linux.all`, built from the flake's
check attrset, so CI has one source-of-truth target for the full check
surface.
- Kept per-case site checks covered through a `site-case-tests`
aggregate without exposing each case as a top-level flake check.
- Replaced the workflow's direct `nix flake check -L` build path with
`nix build -L .#checks.x86_64-linux.all` followed by `nix flake check -L
--no-build` in the same runner.
- Kept the final `flake-check` job so existing branch protection can
continue to require one stable check name.
## Why
The previous single `nix flake check -L` job hid which check family was
slow and forced dynamic check discovery through site test cases and Rust
package tests before CI could start building useful work. The new shape
materializes the generated aggregate check first, then runs flake
schema/type validation without rebuilding everything through the flake
frontend.
## Validation
- `nix run .#lint`
- `nix eval --accept-flake-config --json .#checks.x86_64-linux --apply
builtins.attrNames`
- `nix eval --accept-flake-config --raw .#checks.x86_64-linux.all.name`
- `git diff --check`
- YAML parse for `.github/workflows/check.yml`1 parent 8ad6a94 commit 942a86c
2 files changed
Lines changed: 67 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
363 | 376 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
373 | 391 | | |
374 | | - | |
375 | | - | |
376 | 392 | | |
377 | 393 | | |
378 | 394 | | |
| |||
0 commit comments