From 00ca2242eb69e495e7073e725f8c15fcfefb7f84 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Mon, 24 Mar 2025 11:28:56 -0400 Subject: [PATCH] chore: update lint workflow template to use Java 17 This PR follows from https://github.com/googleapis/java-shared-config/pull/1003, which updated google-java-format to the latest and is now [requiring](https://github.com/google/google-java-format/releases/tag/v1.25.0) Java 17. Note that this template will not be spread until https://github.com/googleapis/sdk-platform-java/issues/3701, but the changes will be done to prevent regressions when it's fixed. --- .../owlbot/templates/java_library/.github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermetic_build/library_generation/owlbot/templates/java_library/.github/workflows/ci.yaml b/hermetic_build/library_generation/owlbot/templates/java_library/.github/workflows/ci.yaml index 50487eeb3b..321dd096a2 100644 --- a/hermetic_build/library_generation/owlbot/templates/java_library/.github/workflows/ci.yaml +++ b/hermetic_build/library_generation/owlbot/templates/java_library/.github/workflows/ci.yaml @@ -104,7 +104,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 - run: java -version - run: .kokoro/build.sh env: