Browse Source

speed up ci

appflowy 3 years ago
parent
commit
d822f036e0
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/workflows/rust_general.yml

+ 6 - 0
.github/workflows/rust_general.yml

@@ -3,8 +3,14 @@ name: Rust
 on:
   push:
     branches: [ main ]
+    paths:
+      - 'frontend/rust-lib'
+      - 'shared-lib'
   pull_request:
     branches: [ main ]
+    paths:
+      - 'frontend/rust-lib'
+      - 'shared-lib'
 
 env:
   CARGO_TERM_COLOR: always