Currently, typeshare-cli fails to build in CI if the Rust toolchain version is not at least 1.87. This is because Cargo dependency resolution selects versions of the dependencies that require an MSRV of 1.87, despite the typeshare-cli crate providing a lockfile that specifies appropriate versions of the dependencies. We should pass --locked during the installation of typeshare-cli in CI to allow it to build properly using the lockfile.
Note that the GitHub Action that is currently used for this does not support the --locked flag and is archived and read-only. We might have to switch to something like https://github.com/marketplace/actions/cargo-install, which does support this flag.
Currently,
typeshare-clifails to build in CI if the Rust toolchain version is not at least 1.87. This is because Cargo dependency resolution selects versions of the dependencies that require an MSRV of 1.87, despite thetypeshare-clicrate providing a lockfile that specifies appropriate versions of the dependencies. We should pass--lockedduring the installation oftypeshare-cliin CI to allow it to build properly using the lockfile.Note that the GitHub Action that is currently used for this does not support the
--lockedflag and is archived and read-only. We might have to switch to something like https://github.com/marketplace/actions/cargo-install, which does support this flag.