Switch to JDK 17 as default JDK on GitHub Actions (#16014)

Co-authored-by: Marek Posolda <mposolda@gmail.com>
This commit is contained in:
Stian Thorgersen 2023-02-22 07:20:14 +01:00 committed by GitHub
parent 5ac8f7c1ef
commit 9df7ef4331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 6 deletions

View file

@ -17,7 +17,7 @@ inputs:
jdk-version: jdk-version:
description: JDK version description: JDK version
required: false required: false
default: 11 default: 17
runs: runs:
using: composite using: composite

View file

@ -9,7 +9,7 @@ inputs:
jdk-version: jdk-version:
description: JDK version description: JDK version
required: false required: false
default: 11 default: 17
runs: runs:
using: composite using: composite

View file

@ -9,7 +9,7 @@ inputs:
jdk-version: jdk-version:
description: JDK version description: JDK version
required: false required: false
default: 11 default: 17
runs: runs:
using: composite using: composite

View file

@ -11,7 +11,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
DEFAULT_JDK_VERSION: 11 DEFAULT_JDK_VERSION: 17
DEFAULT_JDK_DIST: temurin DEFAULT_JDK_DIST: temurin
SUREFIRE_RERUN_FAILING_COUNT: 2 SUREFIRE_RERUN_FAILING_COUNT: 2
@ -174,7 +174,7 @@ jobs:
strategy: strategy:
matrix: matrix:
dist: [temurin] dist: [temurin]
version: [17, 19] version: [11, 19]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -195,6 +195,10 @@ jobs:
echo "Tests: $TESTS" 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 ./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 - name: Upload JVM Heapdumps
if: always() if: always()
uses: ./.github/actions/upload-heapdumps uses: ./.github/actions/upload-heapdumps

View file

@ -11,7 +11,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
DEFAULT_JDK_VERSION: 11 DEFAULT_JDK_VERSION: 17
DEFAULT_JDK_DIST: temurin DEFAULT_JDK_DIST: temurin
MINIKUBE_VERSION: v1.28.0 MINIKUBE_VERSION: v1.28.0
KUBERNETES_VERSION: v1.22.3 KUBERNETES_VERSION: v1.22.3