Skip to content

Commit

Permalink
Switch to JDK 17 as default JDK on GitHub Actions (#16014)
Browse files Browse the repository at this point in the history
Co-authored-by: Marek Posolda <mposolda@gmail.com>
  • Loading branch information
stianst and mposolda committed Feb 22, 2023
1 parent 5ac8f7c commit 9df7ef4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-keycloak/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
jdk-version:
description: JDK version
required: false
default: 11
default: 17

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/integration-test-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
jdk-version:
description: JDK version
required: false
default: 11
default: 17

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/unit-test-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
jdk-version:
description: JDK version
required: false
default: 11
default: 17

runs:
using: composite
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:

env:
DEFAULT_JDK_VERSION: 11
DEFAULT_JDK_VERSION: 17
DEFAULT_JDK_DIST: temurin
SUREFIRE_RERUN_FAILING_COUNT: 2

Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
strategy:
matrix:
dist: [temurin]
version: [17, 19]
version: [11, 19]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand All @@ -195,6 +195,10 @@ jobs:
echo "Tests: $TESTS"
./mvnw test -Dsurefire.rerunFailingTestsCount=${{ env.SUREFIRE_RERUN_FAILING_COUNT }} -nsu -B -Pauth-server-quarkus -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base | misc/log/trimmer.sh
- name: Build with JDK
run:
./mvnw install -nsu -B -e -DskipTests -DskipExamples

- name: Upload JVM Heapdumps
if: always()
uses: ./.github/actions/upload-heapdumps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/operator-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:

env:
DEFAULT_JDK_VERSION: 11
DEFAULT_JDK_VERSION: 17
DEFAULT_JDK_DIST: temurin
MINIKUBE_VERSION: v1.28.0
KUBERNETES_VERSION: v1.22.3
Expand Down

0 comments on commit 9df7ef4

Please sign in to comment.