Commit d5151db
Fix Pro workflow paths after Phase 6 restructuring
After the Phase 6 restructuring, Pro Ruby gem code moved from:
- react_on_rails_pro/lib/react_on_rails_pro/ → lib/react_on_rails_pro/
- react_on_rails_pro/spec/react_on_rails_pro/ → spec/pro/react_on_rails_pro/
But workflows still had working-directory: react_on_rails_pro which was
causing failures because:
1. RSpec tests tried to run spec/react_on_rails_pro which doesn't exist
in that directory anymore
2. Bundle install was looking in wrong vendor/bundle path
3. RuboCop was running in wrong directory
Changes:
- Update rspec-gem-specs job to run from root directory
- Fix spec path from spec/react_on_rails_pro to spec/pro/react_on_rails_pro
- Fix cache paths from react_on_rails_pro/vendor/bundle to vendor/bundle
- Fix log path from react_on_rails_pro/log/test.log to log/test.log
- Update RuboCop to explicitly lint lib/react_on_rails_pro and spec/pro
- Add working-directory: . to Ruby gem operations that need root context
Fixes https://github.com/shakacode/react_on_rails/actions/runs/19607357889/job/56148089097
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent b42600f commit d5151db
2 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | | - | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
| 174 | + | |
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
297 | | - | |
| 300 | + | |
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
| 304 | + | |
301 | 305 | | |
302 | 306 | | |
303 | 307 | | |
| |||
306 | 310 | | |
307 | 311 | | |
308 | 312 | | |
309 | | - | |
| 313 | + | |
| 314 | + | |
310 | 315 | | |
311 | 316 | | |
312 | 317 | | |
| |||
320 | 325 | | |
321 | 326 | | |
322 | 327 | | |
323 | | - | |
| 328 | + | |
0 commit comments