Skip to content

Commit 94302a8

Browse files
Kasamabfops
andauthored
Update tools/ci/src/main.rs
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com> Signed-off-by: Roberto Pommella Alegro <robertoaall@gmail.com>
1 parent 77a71ef commit 94302a8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tools/ci/src/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ fn main() -> Result<()> {
164164

165165
Some(CiCmd::WasmBindings) => {
166166
bash!("cargo test -p spacetimedb-codegen")?;
167+
// Make sure the `Cargo.lock` file reflects the latest available versions.
168+
// This is what users would end up with on a fresh module, so we want to
169+
// catch any compile errors arising from a different transitive closure
170+
// of dependencies than what is in the workspace lock file.
171+
//
172+
// For context see also: https://github.com/clockworklabs/SpacetimeDB/pull/2714
167173
bash!("cargo update")?;
168174
bash!("cargo run -p spacetimedb-cli -- build --project-path modules/module-test")?;
169175
}

0 commit comments

Comments
 (0)