Skip to content

Commit 6fc93b2

Browse files
committed
Updated the workflow to only be triggerd for changes in python or rust files
1 parent 5b074dc commit 6fc93b2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,24 @@ name: Rust
33
on:
44
push:
55
branches: [ "main" ]
6+
paths:
7+
- '**/*.rs'
8+
- '**/*.py'
9+
- 'Cargo.toml'
10+
- 'Cargo.lock'
11+
- '**/Cargo.toml'
12+
- 'crates/cortexadb-py/pyproject.toml'
13+
- '.github/workflows/rust.yml'
614
pull_request:
715
branches: [ "main" ]
16+
paths:
17+
- '**/*.rs'
18+
- '**/*.py'
19+
- 'Cargo.toml'
20+
- 'Cargo.lock'
21+
- '**/Cargo.toml'
22+
- 'crates/cortexadb-py/pyproject.toml'
23+
- '.github/workflows/rust.yml'
824

925
env:
1026
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)