Skip to content

Commit 8e77a81

Browse files
fix(ci): Run Rust workflows only when changes affect Rust code (fixes y-scope#1463, resolves y-scope#1464); Update Cargo lock file. (y-scope#1466)
Co-authored-by: Junhao Liao <[email protected]>
1 parent 8cebaa4 commit 8e77a81

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

.github/workflows/clp-rust-checks.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@ name: "clp-rust-checks"
22

33
on:
44
pull_request:
5+
paths: &monitored_paths
6+
- ".cargo/**"
7+
- "Cargo.lock"
8+
- "Cargo.toml"
9+
- ".github/workflows/clp-rust-checks.yaml"
10+
- "components/clp-rust-utils/**"
11+
- "components/log-ingestor/**"
12+
- "taskfile.yaml"
13+
- "taskfiles/**"
514
push:
15+
paths: *monitored_paths
616
schedule:
717
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
818
- cron: "15 0 * * *"

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)