From 653dcf38ab7571f8efa1ce7b2812605d0aeb6527 Mon Sep 17 00:00:00 2001 From: "Sean C. Sullivan" Date: Sat, 16 Oct 2021 09:15:37 -0700 Subject: [PATCH] ci: use 'temurin' instead of 'adopt' https://github.com/actions/setup-java/blob/main/README.md "It is highly recommended to migrate workflows from adopt to temurin to keep receiving software and security updates." --- .github/workflows/ci.yml | 6 +++--- .github/workflows/pitest-comment.yml | 4 ++-- .github/workflows/pitest.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6636eb48e..12fbc6389 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,19 +13,19 @@ jobs: continue-on-error: false cache-id: "jdk8" java: 8 - dist: adopt + dist: temurin flags: "-DdisableStaticAnalysis" - title: "Supported JDK 11" continue-on-error: false cache-id: "jdk11" java: 11 - dist: adopt + dist: temurin flags: "" - title: "Supported JDK 17" continue-on-error: false cache-id: "jdk17" java: 17 - dist: adopt + dist: temurin flags: "" - title: "Experimental JDK EA (simplified)" continue-on-error: false diff --git a/.github/workflows/pitest-comment.yml b/.github/workflows/pitest-comment.yml index 283166010..17c0ea037 100644 --- a/.github/workflows/pitest-comment.yml +++ b/.github/workflows/pitest-comment.yml @@ -27,7 +27,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 11 - name: Download artifact uses: dawidd6/action-download-artifact@v2 @@ -38,6 +38,6 @@ jobs: workflow_conclusion: success - name: update pull request # The updatePR maven goal is used here with an explicit version. This allows us to upload without checking out - # the code, but does mean the version here must be maintained. An alternative would be to checkout the code and use + # the code, but does mean the version here must be maintained. An alternative would be to checkout the code and use # the github goal. This will work as long as the artifact is extracted to the maven target directory run: mvn -DrepoToken=${{ secrets.GITHUB_TOKEN }} com.groupcdg:pitest-github-maven-plugin:0.1.0:updatePR diff --git a/.github/workflows/pitest.yml b/.github/workflows/pitest.yml index ef9d22973..ddb5dee03 100644 --- a/.github/workflows/pitest.yml +++ b/.github/workflows/pitest.yml @@ -33,7 +33,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - distribution: 'adopt' + distribution: 'temurin' java-version: 11 - name: run pitest # pitest has been bound to a profile called pitest for normal running