Commit f6ad14f
committed
ci: remove rust-cache to fix sccache 0% hit rate
Remove Swatinem/rust-cache from CI workflow to avoid conflict with sccache.
Using both caching mechanisms caused 0% cache hit rate because rust-cache
was already caching all compiled artifacts, leaving nothing for sccache to cache.
Changes:
- Removed rust-cache from test, clippy, and build jobs
- Added CARGO_INCREMENTAL=0 for better sccache performance
- Now using only sccache for CI caching
Expected improvement:
- sccache cache hit rate should increase from 0% to 40-60%
- Build times should remain fast due to sccache GitHub Actions cache1 parent c7d57c8 commit f6ad14f
1 file changed
+1
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 45 | | |
51 | 46 | | |
52 | 47 | | |
| |||
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 91 | | |
103 | 92 | | |
104 | 93 | | |
| |||
138 | 127 | | |
139 | 128 | | |
140 | 129 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 130 | | |
148 | 131 | | |
149 | 132 | | |
| |||
0 commit comments