From 79ac05f7cb060be05d40cf27c5bbdc30efe7a4e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Feb 2022 21:39:45 +0100 Subject: [PATCH] chore(deps): update actions/setup-java action to v3 (#955) * chore(deps): update actions/setup-java action to v3 * Update ci-maven.yaml * Update ci.yaml * Update sonar.yaml Co-authored-by: Mike Eltsufin --- .github/workflows/ci-maven.yaml | 3 ++- .github/workflows/ci.yaml | 3 ++- .github/workflows/sonar.yaml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-maven.yaml b/.github/workflows/ci-maven.yaml index 5ffc8cae1b..868afec4e4 100644 --- a/.github/workflows/ci-maven.yaml +++ b/.github/workflows/ci-maven.yaml @@ -13,9 +13,10 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} + distribution: temurin - run: java -version - name: Cache local Maven repository diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 51fced63cc..ee25150c27 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,9 +13,10 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} + distribution: temurin - run: java -version - name: Bazel File Cache Setup diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 910954a402..0b700dd288 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -14,9 +14,10 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: temurin - name: Cache SonarCloud packages uses: actions/cache@v2 with: