-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (45 loc) · 1.34 KB
/
module.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Qodana
on:
schedule:
- cron: "39 6 * * 2"
workflow_call:
secrets:
## Secrets: Qodana Token
QODANA_TOKEN:
required: true
description: "Qodana reporting token"
## Buildless API key
BUILDLESS_APIKEY:
required: true
description: "Buildless API key"
workflow_dispatch:
secrets:
QODANA_TOKEN:
required: true
description: "Qodana reporting token"
BUILDLESS_APIKEY:
required: true
description: "Buildless API key"
jobs:
scan:
name: Qodana
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: "Setup: Checkout"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- name: "Setup: JDK 19"
uses: buildjet/setup-java@89ddc594b1d96eada357fc2824610d5d6650f2da # v4
with:
distribution: "adopt-hotspot"
java-version: "19"
- name: "Qodana Scan"
uses: JetBrains/qodana-action@c0a36fb50f89f631c068153f5cf03964ba32861f # main
continue-on-error: true
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}