From 4e065b41a56bf4539c37c3fdb1066dbdd4132507 Mon Sep 17 00:00:00 2001 From: Heiko Kiesel Date: Tue, 12 Sep 2023 12:07:12 +0200 Subject: [PATCH 1/2] Bump github actions versions of setup-java and setup-go to remove warnings Signed-off-by: Heiko Kiesel --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 86dec57025..e3dad79825 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -107,7 +107,7 @@ jobs: unit: ["persistence-defectdojo"] steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: java-version: "17" # The JDK version to make available on the path. java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk @@ -131,7 +131,7 @@ jobs: uses: actions/checkout@v3 - name: Go Setup - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} @@ -166,7 +166,7 @@ jobs: uses: actions/checkout@v3 - name: Go Setup - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} From 05009bcf87e33a4ac20c92aa997b7c1e97d1f413 Mon Sep 17 00:00:00 2001 From: Heiko Kiesel Date: Tue, 12 Sep 2023 12:53:23 +0200 Subject: [PATCH 2/2] Add required distribution to setup-java GitHub Action Signed-off-by: Heiko Kiesel --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e3dad79825..5e7d5c9cb5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -109,6 +109,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: + distribution: "temurin" # required Java distribution java-version: "17" # The JDK version to make available on the path. java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk architecture: x64 # (x64 or x86) - defaults to x64