Skip to content

Commit

Permalink
ci: run rust jobs only if src/ or the ci job itself are modified
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed Jan 25, 2025
1 parent 6869ea4 commit c9dbd1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ name: Rust
on:
push:
branches: [ "main" ]
paths:
- "src/**"
- ".github/workflows/rust.yml"
pull_request:
branches: [ "main" ]
paths:
- "src/**"
- ".github/workflows/rust.yml"

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit c9dbd1f

Please sign in to comment.