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

Prevent modfile from being exposed to downstream actions #265

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

peterebden
Copy link
Contributor

It's turning up as an input to go_binary or go_test (because they get transitive inputs), which causes them to rebuild even though it's not used by them (so after that we'll get forward caching but it's still suboptimal to rebuild these at all)

This seems like an easy fix. I don't think we should consume the thing at build time at all (I think go_repo should have all the information it needs) but that is rather harder to achieve.

@peterebden peterebden merged commit eb6671a into please-build:master Jul 2, 2024
5 checks passed
@peterebden peterebden deleted the investigate-go-mod branch July 2, 2024 11:16
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