Skip to content

Commit bc57b12

Browse files
Actions: only run CI workflow when relevant code paths change
1 parent 9d40a8f commit bc57b12

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
paths:
6+
- ".github/workflows/ci.yaml"
7+
- "src/**"
8+
- "tests/**"
9+
- "Cargo.toml"
10+
- "Cargo.lock"
11+
pull_request: {}
412

513
env:
614
RUSTFLAGS: -D warnings

0 commit comments

Comments
 (0)