Skip to content

Commit e6f5ed7

Browse files
committed
move qodana scan in main build and switch to non-community linter
1 parent 12ffcb1 commit e6f5ed7

File tree

3 files changed

+17
-30
lines changed

3 files changed

+17
-30
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: IntelliJ Plugin Build
22
on:
3+
pull_request:
34
push:
45
branches:
5-
- '**'
6+
- main
67

78
permissions:
89
contents: read
@@ -49,3 +50,17 @@ jobs:
4950

5051
- name: Build plugin
5152
run: ./gradlew buildPlugin
53+
54+
- name: 'Qodana Scan'
55+
uses: JetBrains/qodana-action@v2024.3
56+
with:
57+
pr-mode: false
58+
env:
59+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_1103458822 }}
60+
QODANA_ENDPOINT: 'https://qodana.cloud'
61+
62+
- name: Upload plugin artifact
63+
uses: actions/upload-artifact@v4
64+
with:
65+
name: context-mapper-intellij-plugin
66+
path: ./build/distributions/context-mapper-intellij-plugin.zip

.github/workflows/qodana_code_quality.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

qodana.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: "1.0"
2-
linter: jetbrains/qodana-jvm-community:2024.3
2+
linter: jetbrains/qodana-jvm:2024.3
33
profile:
44
name: qodana.recommended
55
include:

0 commit comments

Comments
 (0)