Skip to content

Add --locked flag to typeshare-cli installation in CI #95

Description

@ambareesh1510

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions