Skip to content

Commit 71cde8b

Browse files
authored
Don't run rust CI if no rust files have changed (#47)
1 parent 1a7e1d2 commit 71cde8b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/rust.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
# Only run when files in blog/*/code change
9+
- "blog/*/code/**"
10+
- ".github/workflows/rust.yaml"
711
pull_request:
12+
paths:
13+
# Only run when files in blog/*/code change
14+
- "blog/*/code/**"
15+
- ".github/workflows/rust.yaml"
816

917
jobs:
1018
test:

0 commit comments

Comments
 (0)