Repository navigation
ci: standardize actions/checkout (v7.0.1) and actions/setup-java (v6.3.0) across workflows - #15447
Merged
lqiu96 merged 3 commits intoDec 4, 2026
Merged
Conversation
…3.0) across workflows Standardize all actions/checkout references to v7.0.1 (3d3c42e5aac5ba805825da76410c181273ba90b1) and actions/setup-java references to v6.3.0 (d1374f8ac74474200d16ef8ecee22c7ae7a51880) across 34 non-librarian, non-Spanner workflows and java-cloud-bom/tests/validate-bom/action.yml. Both target versions run natively on Node 24 and unify Maven cache keys across workflows.
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the actions/setup-java action in the validate-bom workflow to pin it to a specific commit SHA. The reviewer noted that the inline comment incorrectly references version v6.3.0 instead of v4.3.0 for the specified commit SHA, and provided a suggestion to correct it.
jinseopkim0
approved these changes
Dec 4, 2026
lqiu96
enabled auto-merge (squash)
December 4, 2026 19:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardizes
actions/checkoutandactions/setup-javaversions across GitHub Actions workflows andjava-cloud-bom/tests/validate-bom/action.yml.Changes
actions/checkoutreferences (previously split acrossv3.6.0throughv6.1.0) to3d3c42e5aac5ba805825da76410c181273ba90b1(v7.0.1).actions/setup-javareferences (previously split acrossv3.14.1throughv5.7.0) tod1374f8ac74474200d16ef8ecee22c7ae7a51880(v6.3.0).librarian_generation_check.yaml,update_librarian_googleapis.yaml, the 7 Spanner CI workflows, andsdk-platform-java/java-shared-dependencies/unmanaged-dependency-check/action.yaml(updated separately in ci: remove redundant setup-java and Maven 3.8.2 downgrade from unmanaged-dependency-check #15445).Why
actions/checkout@v3.6.0andactions/setup-java@v3.14.1target deprecated Node 16 (setup-java@v3is EOL and logs deprecation warnings on every run), andactions/checkout@v4.x/actions/setup-java@v4.xtarget Node 20 (which GitHub Actions runners warn is deprecated and force onto Node 24). Bothv7.0.1andv6.3.0run natively on Node 24.setup-java@v3(setup-java-Linux-maven-<hash>) andv4/v5(setup-java-Linux-x64-maven-<hash>) produced separate cache entries under the 10 GB repository cache cap, causing avoidable cache misses and evictions across workflows.actions/setup-javav6.x improvements relevant to this repo:11,17,21,25,26) and supports Temurin 4-segment patch versions (such as26.0.2.1+1).~/.m2/toolchains.xmlacross repeatedsetup-javasteps in the same job (used by the Java 8 jobs that install both JDK 8 and JDK 11/17).distribution: zuluworkflows from the legacy Zulu Discovery API to the Azul Metadata API.v6.3.0), avoiding truncated inline compiler warning annotations on PR diffs while keeping full diagnostics in build logs.settings.xml(v6.0.0–v6.2.0), which future follow-ups can use for the GCS Maven Central mirror instead of copyingsettings.xmlmanually in scripts.