Skip to content

Commit 90a54d4

Browse files
authored
Run test workflows only on specific paths (#8)
1 parent 8932c65 commit 90a54d4

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/cargo.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
name: Cargo
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
paths:
6+
- 'src/**'
7+
- 'tests/**'
8+
- '.cargo/**'
9+
- 'Cargo.*'
10+
- '.github/workflows/**'
11+
pull_request:
12+
paths:
13+
- 'src/**'
14+
- 'tests/**'
15+
- '.cargo/**'
16+
- 'Cargo.*'
17+
- '.github/workflows/**'
618

719
env:
820
RUST_LOG: debug

0 commit comments

Comments
 (0)