From 4777e6723e787d0aff1b6d2f50bf2f0229253fe4 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 15 Dec 2022 04:57:08 +0100 Subject: Update Qodana GitHub action (#2747) --- .github/workflows/qodana.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to '.github') diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 2c1f87f4..b77719ea 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -6,22 +6,20 @@ on: push: branches: - master + jobs: inspection: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Qodana - Code Inspection - id: qodana - uses: JetBrains/qodana-action@v2022.2.1 + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2022.2.3 with: args: --baseline,qodana.sarif.json,--fail-threshold,0,--linter,jetbrains/qodana-jvm env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} - clone-finder: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Qodana - Clone Finder - uses: JetBrains/qodana-clone-finder-action@v2.0-eap + - uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json -- cgit