-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GHA: Modularize actions (apt dependencies, sonar tools) #2197
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2197 +/- ##
===========================================
- Coverage 76.61% 76.60% -0.01%
===========================================
Files 82 82
Lines 15008 15008
===========================================
- Hits 11498 11497 -1
- Misses 3510 3511 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
# install amici dependencies | ||
- name: Install apt dependencies | ||
uses: ./.github/actions/install-apt-dependencies | ||
|
||
- name: apt | ||
run: | | ||
sudo apt-get update \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skip the update here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Takes only about 1s to run it a second time, I'd leave it here to keep it's safer to shuffle those steps around.
DRY, use composite actions. More readable + more maintainable.