diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index 8bbdeed..1e23c62 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 21 cache: 'maven' - name: Build run: mvn -B clean package --file pom.xml @@ -37,11 +37,11 @@ jobs: continue-on-error: ${{ matrix.experimental }} steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 21 cache: 'maven' - name: Compatibility tests run: mvn -B -U clean test-compile failsafe:integration-test failsafe:verify --file pom.xml -Dkeycloak.version=${{ matrix.keycloak_version }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b299b9f..d1a6edc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -40,11 +40,11 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 21 cache: 'maven' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index eefe39e..38fa2c4 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -16,11 +16,11 @@ jobs: - uses: actions/checkout@v4 with: ref: v${{ matrix.extension_version }} - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 21 cache: 'maven' - name: Clean and compile run: mvn -B -U clean test-compile --file pom.xml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39f5b2a..ff52708 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,11 +24,11 @@ jobs: run: | git config user.email "actions@github.com" git config user.name "GitHub Actions" - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 21 cache: 'maven' - name: Release to GitHub packages run: | diff --git a/pom.xml b/pom.xml index c4b8779..2f4fbe9 100644 --- a/pom.xml +++ b/pom.xml @@ -46,9 +46,9 @@ UTF-8 - 17 - 17 - 17 + 21 + 21 + 21 25.0.0