Skip to content

Commit

Permalink
try qodana
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Dec 5, 2023
1 parent bb036a3 commit 90e3130
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 63,279 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/qodana.yml → .github/workflows/try-qodana.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Qodana
name: Try Qodana

on:
workflow_dispatch:
pull_request:
push:
branches:
- master

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
Expand All @@ -17,13 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
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
uses: JetBrains/qodana-action@v2023.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
Loading

0 comments on commit 90e3130

Please sign in to comment.