Skip to content

Commit 1541ac1

Browse files
committed
Update rust CI to not catch new branch pushes
1 parent d059f99 commit 1541ac1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: Rust CI
22

3-
# TODO: The paths need to include all rust projects. Those exist outside the rust directory.
4-
53
on:
64
workflow_dispatch:
75
push:
6+
branches:
7+
- '**'
88
paths:
9+
- '**.rs'
10+
- '**.toml'
911
- 'rust/**'
1012
pull_request:
1113
paths:

.github/workflows/rust_testing.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@ name: Rust Testing
88
on:
99
workflow_dispatch:
1010
push:
11+
branches:
12+
- '**'
1113
paths:
14+
- '**.rs'
15+
- '**.toml'
1216
- 'rust/**'
1317
# Pull request target allows us to use the bn license and serial for PR's
1418
# to insure we do not leak the license the workflow is required to be approved manually.
1519
pull_request_target:
1620
paths:
21+
- '**.rs'
22+
- '**.toml'
1723
- 'rust/**'
1824

1925
jobs:

0 commit comments

Comments
 (0)