googleapis / googleapis/google-cloud-java
Make Maven Fmt/ Lint Job Run Faster
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
From a recent run of the lint job (https://github.com/googleapis/google-cloud-java/actions/runs/15201184035/job/42755490835) took ~30 minutes to run.

Can we make this run faster?
Job details (https://github.com/googleapis/google-cloud-java/blob/80a9d63203bc7e12a8ed2a7cd0eb06450c3ce03e/.github/workflows/ci.yaml#L82) looks to try and run this in parallel.
Additional options to explore:
- Can we only fmt this on modules that have code changes instead of running this for the entire repo?
- Can we only fmt on PRs that have code changes (exclude CI or deps upgrades)?
- Does the fmt plugin to help speed this up natively? Some configurations that we can play around with?
Contributor guide
Assessment
This issue has not been assessed yet.