aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-12-15 04:57:08 +0100
committerGitHub <noreply@github.com>2022-12-15 04:57:08 +0100
commit4777e6723e787d0aff1b6d2f50bf2f0229253fe4 (patch)
treee3f115065c06a89924cc3e5725a007a892b302b3 /.github
parentf289e2e4ab1ecb8cd91f761b40270e2c9949c2cc (diff)
downloaddokka-4777e6723e787d0aff1b6d2f50bf2f0229253fe4.tar.gz
dokka-4777e6723e787d0aff1b6d2f50bf2f0229253fe4.tar.bz2
dokka-4777e6723e787d0aff1b6d2f50bf2f0229253fe4.zip
Update Qodana GitHub action (#2747)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/qodana.yml20
1 files changed, 9 insertions, 11 deletions
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