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: Optimised CI workflows #112

Merged
merged 15 commits into from
Jan 25, 2022
Merged

ci: Optimised CI workflows #112

merged 15 commits into from
Jan 25, 2022

Conversation

afonsojramos
Copy link
Collaborator

@afonsojramos afonsojramos commented Jan 24, 2022

After some investigation on Serenity's and Deno's GitHub Actions, I've taken myself to improve our own Workflows to:

  • Add Clippy feedback within the PR's file changes using clippy-check.
    image
  • Separate Formatting and Linting into a separate workflow to take advantage of actions parallelism and reduce action time delta.
  • Remove the unnecessary --release profile from normal day-to-day workflows, restricting it to builds in main and releases.
  • Add build caching so that the action does not build from scratch on every step of the job.

In the end, this resulted in cutting build times by 50%, which will result in an increased development speed.

@afonsojramos afonsojramos added the 🔧 improvement General improvements to existing features label Jan 24, 2022
@afonsojramos afonsojramos merged commit 4ce588a into main Jan 25, 2022
@afonsojramos afonsojramos deleted the test-serenity-ci branch January 25, 2022 11:43
@afonsojramos afonsojramos mentioned this pull request Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 improvement General improvements to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants