From f19ad61caf87b056106d75b4b93782a0d36e9fbb Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Sun, 2 Nov 2025 21:25:01 -0700 Subject: [PATCH] Tidy --- tooling/xtask/src/tasks/workflows/release_nightly.rs | 8 ++------ tooling/xtask/src/tasks/workflows/run_tests.rs | 1 + 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tooling/xtask/src/tasks/workflows/release_nightly.rs b/tooling/xtask/src/tasks/workflows/release_nightly.rs index 053570b438589a77b1f0e9fdf04537a97ee37491..944549bea417ff8f3147af3a866df610c2bb2fb9 100644 --- a/tooling/xtask/src/tasks/workflows/release_nightly.rs +++ b/tooling/xtask/src/tasks/workflows/release_nightly.rs @@ -13,11 +13,6 @@ use indexmap::IndexMap; /// Generates the release_nightly.yml workflow pub fn release_nightly() -> Workflow { - let env: IndexMap<_, _> = [("CARGO_TERM_COLOR", "always"), ("RUST_BACKTRACE", "1")] - .into_iter() - .map(|(key, value)| (key.into(), value.into())) - .collect(); - let style = check_style(); // run only on windows as that's our fastest platform right now. let tests = run_platform_tests(Platform::Windows); @@ -53,7 +48,8 @@ pub fn release_nightly() -> Workflow { // Fire every day at 7:00am UTC (Roughly before EU workday and after US workday) .schedule([Schedule::new("0 7 * * *")]) .push(Push::default().add_tag("nightly"))) - .envs(env) + .add_env(("CARGO_TERM_COLOR", "always")) + .add_env(("RUST_BACKTRACE", "1")) .add_job(style.name, style.job) .add_job(tests.name, tests.job) .map(|mut workflow| { diff --git a/tooling/xtask/src/tasks/workflows/run_tests.rs b/tooling/xtask/src/tasks/workflows/run_tests.rs index 91cb3984b7d5e63c0235a25e0fd99611d2db3181..5c75cb7c9667276190cc93d70ed2e42eca5502c7 100644 --- a/tooling/xtask/src/tasks/workflows/run_tests.rs +++ b/tooling/xtask/src/tasks/workflows/run_tests.rs @@ -89,6 +89,7 @@ pub(crate) fn run_tests() -> Workflow { ) .add_env(( "CARGO_TERM_COLOR", "always" )) .add_env(( "RUST_BACKTRACE", 1 )) + .add_env(( "CARGO_INCREMENTAL", 0 )) .map(|mut workflow| { for job in jobs { workflow = workflow.add_job(job.name, job.job)