Skip to content
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

ci: Reduce amount of workflows #394

Closed
wants to merge 8 commits into from
Closed

Conversation

EduardGomezEscandell
Copy link
Contributor

@EduardGomezEscandell EduardGomezEscandell commented Nov 10, 2023

Both Flutter and Go QA is separated into two jobs: one with static checks (linting, vulnerability checking, generation, etc.) and a second one with tests.

We can remove redundant work and the total number of jobs by simply merging these.

We can skip tests when modifying irrelevant files.

So far, we've gone from 35 to 25 jobs.


UDENG-1715

@EduardGomezEscandell EduardGomezEscandell force-pushed the fewer-gh-workflows branch 4 times, most recently from 1c90626 to 71c225b Compare November 10, 2023 12:11
@EduardGomezEscandell EduardGomezEscandell self-assigned this Nov 10, 2023
@EduardGomezEscandell EduardGomezEscandell force-pushed the fewer-gh-workflows branch 3 times, most recently from 518df3a to 94be31b Compare November 14, 2023 13:58
@EduardGomezEscandell
Copy link
Contributor Author

Failing run is fixed in #400

This'll reduce the number of workflows being launched, avoiding or at
least mitigating GitHub's throttling.
Most of the steps were repeated with the Flutter QA action, so I removed
them. Then the action became small enough that it made no sense to have
it separate from the workflow.
Almost irrelevant change, it changes the name of the workflow:
- Before: Go Quality Checks (windows, windows-agent)
- After: Go Quality Checks (windows-agent, windows)

This means that when there is no space, Github will display:
- Before: Go Quality Checks (windows, ...
- After: Go Quality Checks (windows-ag...

Small change, but the module is usually more relevant than the platform.
It's just more readable.
@EduardGomezEscandell EduardGomezEscandell marked this pull request as ready for review November 15, 2023 12:38
@EduardGomezEscandell
Copy link
Contributor Author

Putting this idea on hold for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant