Skip to content

Commit

Permalink
ci: Only run Rust workflows when rust related files are changed
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetlert authored Dec 16, 2023
1 parent 378ac59 commit b145ad1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ name: Rust
on:
push:
branches: [ "main" ]
paths:
- "**.rs"
- "**.toml"
- ".github/workflows/rust.yml"
pull_request:
branches: [ "main" ]
paths:
- "**.rs"
- "**.toml"
- ".github/workflows/rust.yml"

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit b145ad1

Please sign in to comment.