Skip to content

Commit 0060ade

Browse files
committed
only run CI when relevant paths change
Note that we still run MSRV checks unconditionally, just as additional safe-guard in case we excluded too many files, subtly.
1 parent 82348d8 commit 0060ade

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,30 @@ on:
44
push:
55
branches: [ main ]
66
tags-ignore: '*'
7+
paths:
8+
- '.github/**'
9+
- 'ci/**'
10+
- 'etc/**'
11+
- 'src/**'
12+
- 'tests/**'
13+
- 'cargo-*/**'
14+
- 'git*/**'
15+
- 'experiments/**'
16+
- '*.toml'
17+
- Makefile
718
pull_request:
819
branches: [ main ]
20+
paths:
21+
- '.github/**'
22+
- 'ci/**'
23+
- 'etc/**'
24+
- 'src/**'
25+
- 'tests/**'
26+
- 'cargo-*/**'
27+
- 'git*/**'
28+
- 'experiments/**'
29+
- '*.toml'
30+
- Makefile
931

1032
jobs:
1133
test:

0 commit comments

Comments
 (0)