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

Speed up checks on CI #562

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Speed up checks on CI #562

merged 2 commits into from
Jul 19, 2024

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Jul 19, 2024

  • Run checks for main branch as well.
  • Bump actions like actions/checkout, old ones are deprecated.
  • Replace actions/cache with gradle/actions/setup-gradle, this will significantly speed up builds.
  • Cache AVD devices.
  • Merge publishing snapshot workflow into check.
  • Move gradle/actions/wrapper-validation into a separate file, we don't need run it every time.
  • Tweak Gradle flgas.

Goooler added 2 commits July 19, 2024 10:16
- Run checks for main branch as well.
- Bump actions like `actions/checkout`, old ones are deprecated.
- Replace `actions/cache` with `gradle/actions/setup-gradle`, this will significantly speed up builds.
- Cache AVD devices.
- Merge publishing snapshot workflow into check.
- Move `gradle/actions/wrapper-validation` into a separate file, we don't need run it every time.
@kizitonwose
Copy link
Owner

Thanks for the tweaks and optimizations!

What's the reason behind this one Merge publishing snapshot workflow into check? I thought it was clearer in a separate file.

@Goooler
Copy link
Contributor Author

Goooler commented Jul 19, 2024

I was planning to let it depend on check jobs, I can revert that change if you want.

@kizitonwose
Copy link
Owner

Ok, that makes sense 👍🏼

@kizitonwose kizitonwose self-requested a review July 19, 2024 10:02
@kizitonwose kizitonwose merged commit 5673c78 into kizitonwose:main Jul 19, 2024
6 checks passed
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.

2 participants