Commit f570fab
committed
Consolidate the workflows and ship prebuilt
artifact-scans.yml folds into ci.yml as a job of its own. A guard in
repo-guards.rs had to learn to read every file under .github/workflows
before it could see that a whole gate ran in the second file, which is
the failure that guard exists to prevent, one file over.
The paths-ignore filter is gone. It skipped every job on a push touching
only markdown, which skipped cargo test --test unit and
check-artifacts.sh, the two gates that read the markdown. The filter
turned off precisely the checks for the files being changed.
A build job produces Linux x86_64 and macOS arm64 tarballs and runs each
binary on the platform it was built for, and a release job republishes
them as a rolling "latest" on every green push to main. Cargo.lock is
tracked and the build passes --locked, so a published binary is a
function of the commit that names it. The fast lane gains a macOS leg
for the same reason the build job runs what it produced: the tarball
ships for a platform no test had run on.
repo-guards.rs gains released_tarball_names_match_the_build_matrix,
pinning the asset names in the build matrix, the release job and README
to one list. The release job checks its own copy against the artifacts
at run time; README's copy was checked by nothing, and a renamed target
would have left it pointing at a download that 404s while every gate
stayed green. ci_runs_every_test_target now reads the one-line "run:"
form as its two siblings already did. It saw only the block form, so it
reported test-integration as run by nobody once that step no longer
needed a block.1 parent b173753 commit f570fab
10 files changed
Lines changed: 2032 additions & 41 deletions
File tree
- .github
- workflows
- scripts
- tests
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
0 commit comments