From 75634df664f278630d9e7655a48931ac08b2d529 Mon Sep 17 00:00:00 2001 From: mo-auto <54212639+mo-auto@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:18:21 +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..c88f6448c 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@v4.0.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.2 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index 8290d0e03..0f7aa6ef5 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@v4.0.0 with: node-version: 14