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 Github Action #260

Merged
merged 9 commits into from
Nov 26, 2024
Merged

Speed Up Github Action #260

merged 9 commits into from
Nov 26, 2024

Conversation

y-bruin
Copy link
Collaborator

@y-bruin y-bruin commented Nov 25, 2024

  • I’ve enabled caching for the go-setup action and started using the same GitHub action for PR checks.
  • I’ve set the concurrency to 1, so new commits will cancel any previous builds on the PR but not on main
  • Divide the Unit and integration test into two separate jobs

Future Improvement: Integration test can be moved under goreleaser build, It will allow us to only build it once in entire process

Open Issue: actions/setup-go#515 (Tested on his fork and it reduce 5m from windows)

Old Usages/commit: https://github.com/bruin-data/bruin/actions/runs/12014227547/usage
New Usages/commit: https://github.com/bruin-data/bruin/actions/runs/12025077838/usage?pr=260

@y-bruin y-bruin merged commit 3a0ce0c into main Nov 26, 2024
10 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