-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix/improve Maven build times #911
Comments
I listed the files in |
I think I know what is happening. The "Build Cache" internal action runs on nearly all steps, and caches the Go cache and the Maven repository. If the pom.xml file is changed, and the first step to complete doesn't do a Maven build, there will be no changes to the m2 repository, and the previous cache will be persisted as the new version. I think the fix could be to always do a |
Uses `grep` rather than `go test -list`, which has to download Go deps and compile the source. Also adds a post step to Build Cache that downloads all Maven and Go dependencies. I think this will address the CI issue in #911
They are the bulk of our CI time, and for some reason caching
~/.m2/repository
doesn't seem to preventmvn
from downloading all its dependencies again?Investigate https://github.com/avodonosov/hashver-maven-plugin/ for local development.
The text was updated successfully, but these errors were encountered: