diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index c2ffbfd..5683495 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -2,9 +2,21 @@ name: C++ on: push: + paths: + - src/** + - include/** + - examples/** + - tool/** + - CMakeLists.txt branches: [ "main", "test/ci-cd" ] pull_request: branches: [ "main" ] + paths: + - src/** + - include/** + - examples/** + - tool/** + - CMakeLists.txt env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2ed815b..fe3808c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,8 +3,18 @@ name: Rust on: push: branches: [ "main" ] + paths: + - src/** + - include/** + - bindings/rust/src/** + - bindings/rust/tests/** pull_request: branches: [ "main" ] + paths: + - src/** + - include/** + - bindings/rust/src/** + - bindings/rust/tests/** env: CARGO_TERM_COLOR: always