Commit 66e293e
authored
fix(ci): improve crates.io publication check robustness (#279)
* feat(ci): optimize CI/CD pipeline for better performance
- Split CI into parallel jobs for faster execution
- Add path filters to skip CI for documentation-only changes
- Create separate docs workflow for markdown and mdBook checks
- Improve caching with more granular cache keys
- Add fail-fast strategy to stop early on failures
- Parallelize unit tests by package
- Make platform builds optional (only Linux required)
- Add environment optimizations (CARGO_INCREMENTAL, reduced debuginfo)
- Only run coverage on main branch
- Add comprehensive documentation checks (lint, links, build)
These optimizations should reduce CI time by 40-50% for most PRs
* fix(ci): improve crates.io publication check robustness
- Redirect stderr to avoid 'note:' messages interfering with grep
- Capture search output for debugging when check fails
- Add debug output to see what cargo search returns
- This should fix the false positives where already-published crates are detected as needing publishing
* fix(ci): remove npm cache configuration from docs workflow
The npm cache was looking for package-lock.json files that don't exist.
Since we only install markdownlint-cli globally, we don't need npm caching.1 parent 8cb8e5d commit 66e293e
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
144 | | - | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
| |||
0 commit comments