diff options
| -rw-r--r-- | .github/workflows/rust.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/rust_testing.yml | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4c0d5012..747e152f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,11 +1,13 @@ name: Rust CI -# TODO: The paths need to include all rust projects. Those exist outside the rust directory. - on: workflow_dispatch: push: + branches: + - '**' paths: + - '**.rs' + - '**.toml' - 'rust/**' pull_request: paths: diff --git a/.github/workflows/rust_testing.yml b/.github/workflows/rust_testing.yml index 05ecde75..1375d72b 100644 --- a/.github/workflows/rust_testing.yml +++ b/.github/workflows/rust_testing.yml @@ -8,12 +8,18 @@ name: Rust Testing on: workflow_dispatch: push: + branches: + - '**' paths: + - '**.rs' + - '**.toml' - 'rust/**' # Pull request target allows us to use the bn license and serial for PR's # to insure we do not leak the license the workflow is required to be approved manually. pull_request_target: paths: + - '**.rs' + - '**.toml' - 'rust/**' jobs: |
