From 1b5d85ceda19a109a55383c4d44af779f63a20cb Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Thu, 13 Jun 2024 14:14:21 -0400 Subject: [PATCH] Prepare for setting security plugin 3.0.0 baseline JDK version to JDK-21 (update Github Actions) Signed-off-by: Andriy Redko --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/code-hygiene.yml | 4 ++-- .github/workflows/integration-tests.yml | 2 +- .github/workflows/maven-publish.yml | 2 +- .github/workflows/plugin_install.yml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfadd0edd6..5adfcf2f7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 17 + java-version: 21 - name: Checkout security uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: matrix: gradle_task: ${{ fromJson(needs.generate-test-list.outputs.separateTestsNames) }} platform: [windows-latest, ubuntu-latest] - jdk: [11, 17, 21] + jdk: [21] runs-on: ${{ matrix.platform }} steps: @@ -97,7 +97,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [11, 17, 21] + jdk: [21] platform: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.platform }} @@ -204,7 +204,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - uses: github/codeql-action/init@v3 with: languages: java @@ -219,7 +219,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - run: | security_plugin_version=$(./gradlew properties -q | grep -E '^version:' | awk '{print $2}') diff --git a/.github/workflows/code-hygiene.yml b/.github/workflows/code-hygiene.yml index 2f8820709a..a6beba4af3 100644 --- a/.github/workflows/code-hygiene.yml +++ b/.github/workflows/code-hygiene.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - uses: gradle/gradle-build-action@v3 with: @@ -54,7 +54,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - uses: gradle/gradle-build-action@v3 with: diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 183276e675..cf3904c8cc 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [11, 17, 21] + jdk: [21] test-run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index a837289795..d10fd67beb 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: temurin # Temurin is a distribution of adoptium - java-version: 11 + java-version: 21 - uses: actions/checkout@v4 - uses: aws-actions/configure-aws-credentials@v4 with: diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 8cfcd156ae..b28b4bdd7f 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - jdk: [11, 17, 21] + jdk: [21] runs-on: ${{ matrix.os }} steps: