Skip to content

Commit 549843d

Browse files
authored
Add qodana CI checks (#33)
2 parents 6fff621 + 85aeeb5 commit 549843d

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Qodana
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches: # Specify your branches here
7+
- main # The 'main' branch
8+
9+
jobs:
10+
qodana:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
checks: write
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
20+
fetch-depth: 0 # a full history is required for pull request analysis
21+
- name: 'Qodana Scan'
22+
uses: JetBrains/[email protected]
23+
with:
24+
pr-mode: false
25+
env:
26+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_323294160 }}
27+
QODANA_ENDPOINT: 'https://qodana.cloud'

qodana.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: "1.0"
2+
linter: jetbrains/qodana-jvm:2024.1
3+
profile:
4+
name: qodana.recommended
5+
include:
6+
- name: CheckDependencyLicenses

0 commit comments

Comments
 (0)