Skip to content

CI: Skip Rust checks workflow when no Rust-related changes are detected #1464

@coderabbitai

Description

@coderabbitai

Description

The clp-rust-checks workflow should be optimised to skip execution when no Rust-related files have been changed. This will reduce unnecessary CI runs and improve resource utilisation.

Proposed Solution

Add path filters or conditional logic to detect Rust-related changes (e.g., changes to *.rs files, Cargo.toml, Cargo.lock, Rust-related directories) before running the workflow.

Context

This optimisation was suggested following the addition of the Rust lock file validation step in PR #1448.

References

Reported by: @junhaoliao

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
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