Skip to content

Commit

Permalink
Add paths to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxnot committed Oct 11, 2023
1 parent a0b5ae1 commit 2f404cf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f404cf

Please sign in to comment.