From 8dc463eafb2ae9443675b062995d600b9d26f7b9 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Mon, 18 Sep 2023 16:31:20 -0700 Subject: Make every effort to move the language level to 20 with preview For pattern-match switch statements. Much nicer looking code. Also IDEAJ gave me huge grief, so I might have hit this with a larger hammer than needed. --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 48ad1d91..7f25a193 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 20 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '20' distribution: 'temurin' - name: Build with Maven run: mvn --batch-mode --update-snapshots verify \ No newline at end of file -- cgit v1.2.3