Skip to content

Commit

Permalink
ci(workflows): sync central workflows
Browse files Browse the repository at this point in the history
Signed-off-by: mo-auto <54212639+mo-auto@users.noreply.github.com>
  • Loading branch information
mo-auto committed May 31, 2024
1 parent a484fa3 commit 799803e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/central_code_quality_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 799803e

Please sign in to comment.