]> git.lizzy.rs Git - rust.git/commitdiff
Pass --frozen to cargo to ensure ./y.rs prepare fetches all deps
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>
Fri, 13 Jan 2023 15:44:33 +0000 (15:44 +0000)
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>
Fri, 13 Jan 2023 16:13:26 +0000 (16:13 +0000)
.github/workflows/nightly-cranelift.yml
build_system/utils.rs

index 8b3bfab7071ce301b25e91694919e6af6938e9b7..c3dd7445fd8b98048efac2a49a632b3606ab6332 100644 (file)
@@ -36,6 +36,8 @@ jobs:
 
         cat Cargo.toml
 
+        cargo fetch
+
     - name: Build without unstable features
       # This is the config rust-lang/rust uses for builds
       run: ./y.rs build --no-unstable-features
index afbb1b0e5be4dd02c7fdaccb484bdc48f7cea4bd..f2b1fecedc16ba1febb0dc9acec939bae5db62a4 100644 (file)
@@ -111,7 +111,8 @@ fn base_cmd(&self, command: &str, cargo: &Path, dirs: &Dirs) -> Command {
             .arg("--manifest-path")
             .arg(self.manifest_path(dirs))
             .arg("--target-dir")
-            .arg(self.target_dir(dirs));
+            .arg(self.target_dir(dirs))
+            .arg("--frozen");
 
         cmd
     }