Skip to content

Dependencies workflow runs when example is added #19010

Closed as not planned
Closed as not planned
@Person-93

Description

@Person-93

What problem does this solve or what need does it fill?

The Dependencies github workflow runs when a Cargo.toml is modified even if there were no changes to the dependencies. This caused CI to fail when I happened to add an example shortly after a dependency was deprecated.

What solution would you like?

Commit the Cargo.lock (as per official recommendation) and run the workflow when that file changes instead of Cargo.toml.

For completeness, maybe add a workflow to ensure that Cargo.lock is up-to-date.

What alternative(s) have you considered?

Leave as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Build-SystemRelated to build systems or continuous integrationX-ControversialThere is active debate or serious implications around merging this PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions