Skip to content

Commit

Permalink
Use java 21 to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed Sep 19, 2023
1 parent 7480864 commit 0740f67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
executors:
java:
docker:
- image: velo/toolchains-4-ci-builds
- image: velo/toolchains-4-ci-builds:with-21

# common commands
commands:
Expand Down Expand Up @@ -81,13 +81,13 @@ jobs:
- checkout
- restore_cache:
keys:
- feign-dependencies-{{ checksum "pom.xml" }}
- feign-dependencies-
- feign-dependencies-v2-{{ checksum "pom.xml" }}
- feign-dependencies-v2-
- resolve-dependencies
- save_cache:
paths:
- ~/.m2
key: feign-dependencies-{{ checksum "pom.xml" }}
- ~/.m2/repository
key: feign-dependencies-v2-{{ checksum "pom.xml" }}
- run:
name: 'Test'
command: |
Expand All @@ -102,8 +102,8 @@ jobs:
- checkout
- restore_cache:
keys:
- feign-dependencies-{{ checksum "pom.xml" }}
- feign-dependencies-
- feign-dependencies-v2-{{ checksum "pom.xml" }}
- feign-dependencies-v2-
- resolve-dependencies
- configure-gpg
- nexus-deploy
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

<!-- default bytecode version for src/main -->
<main.java.version>1.8</main.java.version>
<latest.java.version>17</latest.java.version>
<latest.java.version>21</latest.java.version>

<!-- default bytecode version for src/test -->
<maven.compiler.source>${main.java.version}</maven.compiler.source>
Expand Down

0 comments on commit 0740f67

Please sign in to comment.