Skip to content

Commit 826db2f

Browse files
authored
Merge pull request #20 from lstreckeisen/update-language-server
update language server to v0.2
2 parents 5c6f7fc + c1156d2 commit 826db2f

File tree

4 files changed

+25
-33
lines changed

4 files changed

+25
-33
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 3 deletions
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
@@ -12,12 +13,17 @@ permissions:
1213
jobs:
1314
build:
1415
runs-on: ubuntu-latest
15-
container:
16-
image: gradle:jdk23-corretto
1716
steps:
1817
- name: Checkout code
1918
uses: actions/checkout@v4
2019

20+
- name: Prepare environment
21+
uses: actions/setup-java@v4
22+
with:
23+
java-version: 17
24+
cache: 'gradle'
25+
distribution: 'temurin'
26+
2127
# required since test report action uses git
2228
- name: Configure Git Safe Directory
2329
run: |
@@ -49,3 +55,17 @@ jobs:
4955

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

.github/workflows/qodana_code_quality.yml

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

lsp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "context-mapper-intellij-plugin",
33
"private": true,
44
"dependencies": {
5-
"@lstreckeisen/context-mapper-language-server": "0.1.0"
5+
"@lstreckeisen/context-mapper-language-server": "0.2.0"
66
}
77
}

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)