googleapis / googleapis/google-cloud-java

Make Maven Fmt/ Lint Job Run Faster

Open
#11,598 0 comments 1 reaction 0 assignees View on GitHub
priority: p3 type: feature request
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.

![Image](https://github.com/user-attachments/assets/ca28b10b-78dc-4e4a-8871-45465da7d4f1)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.