aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/qodana.yml
blob: 2c1f87f41ce58f65171e776030a36ade46593008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Qodana

on:
  workflow_dispatch:
  pull_request:
  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
        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