From 6c436705fa75e7c8c16a94140222af4f44f3707e Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 4 Oct 2024 16:41:39 -0700 Subject: [PATCH] Remove JDK 11 from CI also use 21 for snapshot builds, see https://github.com/google/google-java-format/pull/1015 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c623efe38..e64353d64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - java: [21, 17, 11] + java: [21, 17] experimental: [false] include: # Only test on MacOS and Windows with a single recent JDK to avoid a @@ -114,10 +114,10 @@ jobs: steps: - name: "Check out repository" uses: actions/checkout@v4 - - name: "Set up JDK 17" + - name: "Set up JDK 21" uses: actions/setup-java@v4 with: - java-version: 17 + java-version: 21 distribution: "zulu" cache: "maven" server-id: sonatype-nexus-snapshots