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

Extract build steps that are independent of os and go-version into separate job #1197

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Apr 24, 2024

Our jobs are kind of slow so I was looking at ways to speed them up. I couldn't really find any low hanging fruit but ended up extracting two steps (lint & analyze) I think should be run separately because they do not depend on the os or go-version. It saves us roughly a minute so nothing ground breaking.

I ended up removing the dev trigger for the CodeQL job. I'm fine reverting that change but I feel we run that a lot without any real upside (so far). I can't remember the time it failed and made me change my PR for the better, since it takes more than two minutes on every single run maybe it's fine to only run it when we merge dev.

@peterjan peterjan self-assigned this Apr 24, 2024
@peterjan peterjan marked this pull request as ready for review April 24, 2024 10:16
@peterjan peterjan merged commit 10db300 into dev Apr 24, 2024
7 checks passed
@peterjan peterjan deleted the pj/add-analyze-job branch April 24, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants