Skip to content

Commit

Permalink
Invoke cargo supply-chain update with --cache-max-age=0s
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Dec 17, 2024
1 parent d13e2b4 commit 5664aaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cargo-dylint/tests/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use std::{
fs::{read_dir, read_to_string, write},
io::{stderr, Write as _},
path::{Component, Path, PathBuf},
process,
str::FromStr,
sync::Mutex,
};
Expand Down Expand Up @@ -582,10 +583,9 @@ fn sort() {
#[cfg_attr(dylint_lib = "overscoped_allow", allow(overscoped_allow))]
#[test]
fn supply_chain() {
Command::new("cargo")
.args(["supply-chain", "update"])
.assert()
.success();
let mut command = process::Command::new("cargo");
command.args(["supply-chain", "update", "--cache-max-age=0s"]);
let _: process::ExitStatus = command.status().unwrap();

for target in TARGETS {
let mut command = Command::new("cargo");
Expand Down

0 comments on commit 5664aaa

Please sign in to comment.