From ab4a78a19c8db91bbc6de19f9b182d8ae1621b19 Mon Sep 17 00:00:00 2001 From: Marvin Froeder Date: Wed, 20 Sep 2023 07:57:28 +1200 Subject: [PATCH] Use java 21 to run tests --- .circleci/config.yml | 4 ++-- pom.xml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 928fd9bfe4..576f211119 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ executors: java: docker: - - image: velo/toolchains-4-ci-builds + - image: velo/toolchains-4-ci-builds:with-21 # common commands commands: @@ -86,7 +86,7 @@ jobs: - resolve-dependencies - save_cache: paths: - - ~/.m2 + - ~/.m2/repository key: feign-dependencies-{{ checksum "pom.xml" }} - run: name: 'Test' diff --git a/pom.xml b/pom.xml index 47d86bead2..01de5b7ed9 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,8 @@ 1.8 - 17 + + 21 ${main.java.version}