You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7a4f1cc
Browse filesBrowse the repository at this point in the historyBrowse files
ci: standardize actions/checkout (v7.0.1) and actions/setup-java (v6.3.0) across workflows (#15447)
Standardizes `actions/checkout` and `actions/setup-java` versions across
GitHub Actions workflows and
`java-cloud-bom/tests/validate-bom/action.yml`.
### Changes
- Updates 104 `actions/checkout` references (previously split across
`v3.6.0` through `v6.1.0`) to `3d3c42e5aac5ba805825da76410c181273ba90b1`
(`v7.0.1`).
- Updates 100 `actions/setup-java` references (previously split across
`v3.14.1` through `v5.7.0`) to
`d1374f8ac74474200d16ef8ecee22c7ae7a51880` (`v6.3.0`).
- Excludes `librarian_generation_check.yaml`,
`update_librarian_googleapis.yaml`, the 7 Spanner CI workflows, and
`sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check/action.yaml`
(updated separately in #15445).
### Why
- Removes deprecated action versions and runtimes:
`actions/checkout@v3.6.0` and `actions/setup-java@v3.14.1` target
deprecated Node 16 (`setup-java@v3` is EOL and logs deprecation warnings
on every run), and `actions/checkout@v4.x` / `actions/setup-java@v4.x`
target Node 20 (which GitHub Actions runners warn is deprecated and
force onto Node 24). Both `v7.0.1` and `v6.3.0` run natively on Node 24.
- Unifies Maven cache keys: `setup-java@v3`
(`setup-java-Linux-maven-<hash>`) and `v4`/`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.
- Picks up `actions/setup-java` v6.x improvements relevant to this repo:
- Caches resolved JDK releases to avoid repeated vendor API lookups on
floating versions (`11`, `17`, `21`, `25`, `26`) and supports Temurin
4-segment patch versions (such as `26.0.2.1+1`).
- Preserves `~/.m2/toolchains.xml` across repeated `setup-java` steps in
the same job (used by the Java 8 jobs that install both JDK 8 and JDK
11/17).
- Migrates `distribution: zulu` workflows from the legacy Zulu Discovery
API to the Azul Metadata API.
- Makes the Java problem matcher opt-in by default (`v6.3.0`), avoiding
truncated inline compiler warning annotations on PR diffs while keeping
full diagnostics in build logs.
- Supports configuring Maven mirrors and repositories directly in
generated `settings.xml` (`v6.0.0`–`v6.2.0`), which future follow-ups
can use for the GCS Maven Central mirror instead of copying
`settings.xml` manually in scripts.
0 commit comments