Consolidate required CI gate (#115)
All checks were successful
CI / required (push) Successful in 3m55s

This commit is contained in:
2026-08-12 16:46:45 +00:00
parent b9415bedaa
commit 27c860c225
47 changed files with 2506 additions and 1474 deletions

View File

@@ -19,7 +19,14 @@ fn main() {
.join("../..")
.join(".env");
println!("cargo:rustc-check-cfg=cfg(live_grid_credentials)");
println!("cargo:rerun-if-changed={}", dotenv.display());
// A missing rerun-if-changed input is perpetually stale to Cargo. CI and
// normal offline builds do not have this ignored credential file, so only
// watch it once it exists. RUN_LIVE_TESTS remains an unconditional watched
// input and therefore makes the documented opt-in rebuild discover a newly
// created .env file.
if dotenv.is_file() {
println!("cargo:rerun-if-changed={}", dotenv.display());
}
for key in KEYS {
println!("cargo:rerun-if-env-changed={key}");
}