google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

We should run `cargo publish --dry-run` in the CI builds

Open coryan opened this issue 1 year ago • 2 comments

We need to verify the packages can be created and pass the necessary tests.

coryan avatar Dec 02 '24 17:12 coryan

I think the extra building we do in CI should now catch what this would. Do we think this is still needed?

codyoss avatar Feb 06 '25 15:02 codyoss

I think it is needed. When we change gcp-sdk-gax (or any library that another library depends on) we need to make sure the version numbers in the Cargo.toml files are good. Today we cannot verify that until the lower-level crate is published, which is sad.

In other words, none of the existing CI builds verify the version numbers in Cargo.toml files until it is too late.

Though maybe I am missing something.

coryan avatar Feb 06 '25 18:02 coryan