Remove apt-get upgrade in clang-format job#3913
Conversation
The clang-format job only needs clang-format-18, but apt-get upgrade -y upgrades every pre-installed package on the runner (firefox and others), which adds minutes to the job for no benefit. Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR removes the ChangesWorkflow Optimization
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #3913 +/- ##
============================================
+ Coverage 76.67% 76.68% +0.01%
============================================
Files 162 162
Lines 80728 80735 +7
============================================
+ Hits 61897 61911 +14
+ Misses 18831 18824 -7 🚀 New features to boost your workflow:
|
This changes helps speed up the clang-format job. We don't really need to upgrade every pre-installed package on the runner (firefox and a bunch of other things the job never uses). Before this change: 2m 47s After this change: 31s Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> Signed-off-by: Harkrishn Patro <h_patro@apple.com>
Thanks to @zuiderkwast for pointing this out. This changes helps speed up the clang-format job. We don't really need to upgrade every pre-installed package on the runner (firefox and a bunch of other things the job never uses).
Before this change: 2m 47s (Eg)
After this change: 31s (Eg)