diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index c5b2754..2de3f33 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -16,10 +16,27 @@ jobs: pull-requests: write checks: write steps: - - uses: actions/checkout@v6 + - name: Checkout Git Repository + uses: actions/checkout@v6 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: Set Up JDK + uses: actions/setup-java@v5 + with: + distribution: zulu + java-version: 21 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v5 + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Apply All Patches + run: ./gradlew --refresh-dependencies applyAllPatches + - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2025.3 with: diff --git a/qodana.yaml b/qodana.yaml index 8e7b8ce..c1e0d09 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -7,4 +7,10 @@ linter: jetbrains/qodana-jvm:2025.3 profile: name: qodana.recommended include: - - name: CheckDependencyLicenses \ No newline at end of file + - name: CheckDependencyLicenses +exclude: + - name: All + paths: + - lophine-api/src + - lophine-server/src + - build.gradle.kts