From e4e447fba268ef6fe9f12a06df5dfd2865daaf89 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Wed, 4 Dec 2024 14:57:09 +0800 Subject: [PATCH] Qodana CI? Signed-off-by: ForteScarlet --- .github/workflows/qodana_code_quality.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index 7a4525698..c542c5845 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -20,17 +20,17 @@ jobs: pull-requests: write checks: write steps: + - uses: actions/checkout@v4 + with: +# ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit + fetch-depth: 0 # a full history is required for pull request analysis + - uses: actions/setup-java@v4 with: distribution: ${{ env.JAVA_DISTRIBUTION }} java-version: ${{ env.JAVA_VERSION }} cache: 'gradle' - - uses: actions/checkout@v4 - with: -# ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit - fetch-depth: 0 # a full history is required for pull request analysis - - name: 'Setup Gradle' uses: gradle/actions/setup-gradle@v3 with: