Pass --frozen to cargo to ensure ./y.rs prepare fetches all deps
This commit is contained in:
parent
957d78c479
commit
be8f656fac
2
.github/workflows/nightly-cranelift.yml
vendored
2
.github/workflows/nightly-cranelift.yml
vendored
@ -36,6 +36,8 @@ jobs:
|
|||||||
|
|
||||||
cat Cargo.toml
|
cat Cargo.toml
|
||||||
|
|
||||||
|
cargo fetch
|
||||||
|
|
||||||
- name: Build without unstable features
|
- name: Build without unstable features
|
||||||
# This is the config rust-lang/rust uses for builds
|
# This is the config rust-lang/rust uses for builds
|
||||||
run: ./y.rs build --no-unstable-features
|
run: ./y.rs build --no-unstable-features
|
||||||
|
@ -111,7 +111,8 @@ fn base_cmd(&self, command: &str, cargo: &Path, dirs: &Dirs) -> Command {
|
|||||||
.arg("--manifest-path")
|
.arg("--manifest-path")
|
||||||
.arg(self.manifest_path(dirs))
|
.arg(self.manifest_path(dirs))
|
||||||
.arg("--target-dir")
|
.arg("--target-dir")
|
||||||
.arg(self.target_dir(dirs));
|
.arg(self.target_dir(dirs))
|
||||||
|
.arg("--frozen");
|
||||||
|
|
||||||
cmd
|
cmd
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user