Update GH CI script
Change-Id: Icc27e4dbeea6516b312262a8ee14b2d121840e7d
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml
index 8f07aee..f211e35 100644
--- a/.github/workflows/ci_test.yml
+++ b/.github/workflows/ci_test.yml
@@ -2,18 +2,16 @@
on: [push, pull_request]
+
jobs:
build:
runs-on: ubuntu-latest
steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Set up JDK 17
- uses: actions/setup-java@v4
- with:
- distribution: 'temurin'
- java-version: 17
-
- - name: Build and install
- run: mvn clean test
+ - uses: actions/checkout@v6
+ - uses: actions/setup-java@v5
+ with:
+ distribution: 'temurin'
+ java-version: '21'
+ cache: 'maven'
+ - name: Build and Test
+ run: mvn clean test