-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (34 loc) · 969 Bytes
/
qodana.yml
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
28
29
30
31
32
33
34
35
name: Qodana
on:
pull_request:
push:
branches:
- master
jobs:
cleanup-run:
runs-on: ubuntu-latest
steps:
- name: Abort previous action run
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
qodana-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Qodana Scan
uses: JetBrains/[email protected]
timeout-minutes: 30
with:
args: "--linter,jetbrains/qodana-jvm-community,--fail-threshold,10"
use-caches: false
- name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ runner.temp }}/qodana/results/report
destination_dir: ./qodana/report