Only run rust workflow on changes

This commit is contained in:
Ottatop 2023-10-20 20:27:23 -05:00
parent 3e36c7bea4
commit 528f2583f8

View file

@ -3,8 +3,12 @@ name: Rust
on:
push:
branches: ["main"]
paths:
- "src/**"
pull_request:
branches: ["main"]
paths:
- "src/**"
env:
CARGO_TERM_COLOR: always