Skip to content

Commit 527ba75

Browse files
authored
Merge pull request #17 from TerraByteDev/qodana-automation-460659264
Add qodana CI checks
2 parents 712eac1 + 2c91e9b commit 527ba75

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
- 'releases/*' # The release branches
9+
10+
jobs:
11+
qodana:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
checks: write
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
21+
fetch-depth: 0 # a full history is required for pull request analysis
22+
- name: 'Qodana Scan'
23+
uses: JetBrains/[email protected]
24+
with:
25+
pr-mode: false
26+
env:
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_485910847 }}
28+
QODANA_ENDPOINT: 'https://qodana.cloud'

qodana.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
version: "1.0"
2-
3-
profile:
4-
name: qodana.starter
5-
6-
projectJDK: "21"
7-
82
linter: jetbrains/qodana-jvm-community:2024.3
9-
3+
profile:
4+
name: qodana.recommended
5+
include:
6+
- name: CheckDependencyLicenses
107
exclude:
118
- name: CallToPrintStackTrace

0 commit comments

Comments
 (0)