Skip to content

Commit

Permalink
Don't run rust CI if no rust files have changed (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
LegNeato authored Nov 24, 2024
1 parent 1a7e1d2 commit 71cde8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ on:
push:
branches:
- main
paths:
# Only run when files in blog/*/code change
- "blog/*/code/**"
- ".github/workflows/rust.yaml"
pull_request:
paths:
# Only run when files in blog/*/code change
- "blog/*/code/**"
- ".github/workflows/rust.yaml"

jobs:
test:
Expand Down

0 comments on commit 71cde8b

Please sign in to comment.