From d1412dca08cc4868ee47493f98d88df6ffe014e6 Mon Sep 17 00:00:00 2001 From: mo-auto <54212639+mo-auto@users.noreply.github.com> Date: Thu, 7 Dec 2023 07:14:45 +0000 Subject: [PATCH] ci(workflows): sync central workflows Signed-off-by: mo-auto <54212639+mo-auto@users.noreply.github.com> --- .github/workflows/central_code_quality_check.yml | 6 +++--- .github/workflows/commit-check.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/central_code_quality_check.yml b/.github/workflows/central_code_quality_check.yml index 5ac6c7a4d..6136a761c 100644 --- a/.github/workflows/central_code_quality_check.yml +++ b/.github/workflows/central_code_quality_check.yml @@ -34,20 +34,20 @@ jobs: GluuFederation/gluu-admin-ui steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of sonarqube analysis - name: Set up JDK 11 if: contains(env.JVM_PROJECTS, github.repository) - uses: actions/setup-java@v3.7.0 + uses: actions/setup-java@v3.13.0 with: java-version: 11 distribution: 'adopt' - name: Cache SonarCloud packages for JVM based project if: contains(env.JVM_PROJECTS, github.repository) - uses: actions/cache@v3.0.11 + uses: actions/cache@v3.3.1 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index 8290d0e03..7d2200200 100644 --- a/.github/workflows/commit-check.yml +++ b/.github/workflows/commit-check.yml @@ -23,12 +23,12 @@ jobs: steps: - name: Checkout Project - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We need to fetch with a depth of 2 for pull_request so we can do HEAD^2 fetch-depth: 2 - - uses: actions/setup-node@v3.5.1 + - uses: actions/setup-node@v3.6.0 with: node-version: 14