Pass --frozen to cargo to ensure ./y.rs prepare fetches all deps

This commit is contained in:
bjorn3 2023-01-13 15:44:33 +00:00
parent 957d78c479
commit be8f656fac
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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
} }