googleapis / googleapis/google-cloud-java

Make Maven Fmt/ Lint Job Run Faster

Offen
#11,598 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.