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

Skip most CI jobs when PR is unbuildable #435

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jakebailey
Copy link
Member

Saves some resources when the PR doesn't build (which is especially helpful to not waste our custom runners).

Comment on lines -32 to +29
- run: npx hereby build
- run: go test -c -o=/dev/null ./...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still have something that actually tests hereby builds?

Copy link
Member Author

@jakebailey jakebailey Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but this is actually "stronger" since it checks tests. But it won't catch if the herebyfile breaks.

This PR still takes longer to build than I am expecting, probably due to the lack of build caching, so I'm not sure I even want to do this PR anymore.

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.

3 participants