Skip to content

Commit 27de2a7

Browse files
authored
⬆️ Update qodana to v2025.2.1 (#491)
1 parent 8a7d283 commit 27de2a7

21 files changed

Lines changed: 67 additions & 59 deletions

File tree

.github/workflows/node.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,34 +107,34 @@ jobs:
107107
include:
108108
- directory: 'tests/dotnet'
109109
os: 'ubuntu-latest'
110-
arguments: '-l,jetbrains/qodana-cdnet:2025.1-eap'
110+
arguments: '-l,jetbrains/qodana-cdnet:2025.2-eap'
111111
pr: 'false' # TODO: add true when pr-mode is available for dotnet-community
112112
# - directory: 'tests/cpp'
113-
# arguments: '-l,jetbrains/qodana-clang:2025.1-eap'
113+
# arguments: '-l,jetbrains/qodana-clang:2025.2-eap'
114114
# os: 'ubuntu-latest'
115115
# pr: 'false'
116116
- directory: 'tests/java'
117-
arguments: '-l,jetbrains/qodana-jvm-community:2025.1'
117+
arguments: '-l,jetbrains/qodana-jvm-community:2025.2'
118118
os: 'ubuntu-latest'
119119
pr: 'true'
120120
- directory: 'tests/java'
121-
arguments: '-l,jetbrains/qodana-jvm-community:2025.1'
121+
arguments: '-l,jetbrains/qodana-jvm-community:2025.2'
122122
os: 'ubuntu-latest'
123123
pr: 'false'
124124
- directory: 'tests/java'
125-
arguments: '-l,jetbrains/qodana-jvm-android:2025.1'
125+
arguments: '-l,jetbrains/qodana-jvm-android:2025.2'
126126
os: 'ubuntu-latest'
127127
pr: 'true'
128128
- directory: 'tests/java'
129-
arguments: '-l,jetbrains/qodana-jvm-android:2025.1'
129+
arguments: '-l,jetbrains/qodana-jvm-android:2025.2'
130130
os: 'ubuntu-latest'
131131
pr: 'false'
132132
- directory: 'tests/py_error'
133-
arguments: '-l,jetbrains/qodana-python-community:2025.1'
133+
arguments: '-l,jetbrains/qodana-python-community:2025.2'
134134
os: 'ubuntu-latest'
135135
pr: 'true'
136136
- directory: 'tests/py_error'
137-
arguments: '-l,jetbrains/qodana-python-community:2025.1'
137+
arguments: '-l,jetbrains/qodana-python-community:2025.2'
138138
os: 'ubuntu-latest'
139139
pr: 'false'
140140
- directory: 'tests/dotnet'

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Apply Gradle Qodana Plugin with snapshot version in Gradle configuration file an
134134

135135
```groovy
136136
plugins {
137-
id "org.jetbrains.qodana" version "2025.1.1-SNAPSHOT"
137+
id "org.jetbrains.qodana" version "2025.2.1-SNAPSHOT"
138138
}
139139
140140
qodana {
@@ -145,7 +145,7 @@ Apply Gradle Qodana Plugin with snapshot version in Gradle configuration file an
145145

146146
```kotlin
147147
plugins {
148-
id("org.jetbrains.qodana") version "2025.1.1-SNAPSHOT"
148+
id("org.jetbrains.qodana") version "2025.2.1-SNAPSHOT"
149149
}
150150

151151
qodana {

GRADLE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ Apply Gradle plugin `org.jetbrains.qodana` in the Gradle configuration file:
2323
2424
```groovy
2525
plugins {
26-
id "org.jetbrains.qodana" version "2025.1.1"
26+
id "org.jetbrains.qodana" version "2025.2.1"
2727
}
2828
```
2929
3030
- Kotlin DSL – `build.gradle.kts`
3131
3232
```kotlin
3333
plugins {
34-
id("org.jetbrains.qodana") version "2025.1.1"
34+
id("org.jetbrains.qodana") version "2025.2.1"
3535
}
3636
```
3737
@@ -64,7 +64,7 @@ Add this to your Gradle configuration file:
6464
```groovy
6565
plugins {
6666
// applies Gradle Qodana plugin to use it in project
67-
id "org.jetbrains.qodana" version "2025.1.1"
67+
id "org.jetbrains.qodana" version "2025.2.1"
6868
}
6969
7070
qodana {
@@ -82,7 +82,7 @@ Add this to your Gradle configuration file:
8282
```kotlin
8383
plugins {
8484
// applies Gradle Qodana plugin to use it in project
85-
id("org.jetbrains.qodana") version "2025.1.1"
85+
id("org.jetbrains.qodana") version "2025.2.1"
8686
}
8787
8888
qodana {

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
5454
fetch-depth: 0 # a full history is required for pull request analysis
5555
- name: 'Qodana Scan'
56-
uses: JetBrains/qodana-action@v2025.1
56+
uses: JetBrains/qodana-action@v2025.2
5757
env:
5858
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} # read the steps about it below
5959
```
@@ -96,7 +96,7 @@ Example configuration:
9696

9797
```yaml
9898
- name: Qodana Scan
99-
uses: JetBrains/qodana-action@v2025.1
99+
uses: JetBrains/qodana-action@v2025.2
100100
with:
101101
pr-mode: false
102102
args: --apply-fixes
@@ -136,7 +136,7 @@ jobs:
136136
ref: ${{ github.event.pull_request.head.sha }}
137137
fetch-depth: 0
138138
- name: 'Qodana Scan'
139-
uses: JetBrains/qodana-action@v2025.1
139+
uses: JetBrains/qodana-action@v2025.2
140140
with:
141141
args: --cleanup
142142
- run: |
@@ -272,8 +272,8 @@ with:
272272
| `artifact-name` | Specify Qodana results artifact name, used for results uploading. Optional. | `qodana-report` |
273273
| `cache-dir` | Directory to store Qodana cache. Optional. | `${{ runner.temp }}/qodana/caches` |
274274
| `use-caches` | Utilize [GitHub caches](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy) for Qodana runs. Optional. | `true` |
275-
| `primary-cache-key` | Set [the primary cache key](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key). Optional. | `qodana-2025.1-${{ github.ref }}-${{ github.sha }}` |
276-
| `additional-cache-key` | Set [the additional cache key](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key). Optional. | `qodana-2025.1-${{ github.ref }}` |
275+
| `primary-cache-key` | Set [the primary cache key](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key). Optional. | `qodana-2025.2-${{ github.ref }}-${{ github.sha }}` |
276+
| `additional-cache-key` | Set [the additional cache key](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key). Optional. | `qodana-2025.2-${{ github.ref }}` |
277277
| `cache-default-branch-only` | Upload cache for the default branch only. Optional. | `false` |
278278
| `use-annotations` | Use annotation to mark the results in the GitHub user interface. Optional. | `true` |
279279
| `pr-mode` | Analyze ONLY changed files in a pull request. Optional. | `true` |

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ inputs:
2424
primary-cache-key:
2525
description: 'Set the primary cache key'
2626
required: false
27-
default: "qodana-2025.1-${{ github.ref }}-${{ github.sha }}"
27+
default: "qodana-2025.2-${{ github.ref }}-${{ github.sha }}"
2828
additional-cache-key:
2929
description: 'Set the additional cache key'
3030
required: false
31-
default: "qodana-2025.1-${{ github.ref }}"
31+
default: "qodana-2025.2-${{ github.ref }}"
3232
cache-default-branch-only:
3333
description: 'Upload cache for the default branch only'
3434
required: false

common/cli.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"version": "2025.1.1",
2+
"version": "2025.2.1",
33
"checksum": {
4-
"windows_x86_64": "9b6b30b295b1cc0e60c2be04f4f0054d19a35b79e13c3544c054c1bd052da164",
5-
"linux_arm64": "656527c02c9a12351949f96064a9599c591de2eec856d218f23ad0ea49445602",
6-
"darwin_arm64": "c2e365bb218413fcef4279463823d42ebce8472d12ecff0ad4266d5ad26e0cdc",
7-
"darwin_x86_64": "81cd002d9fcc560596ac35172ccea6958f1645030fde8111c628b98391d16761",
8-
"windows_arm64": "fb474395342443afa57eb9fa019544a487119b4e418cec1b823bbf238bd9e85f",
9-
"linux_x86_64": "785dac6b5e1d78f96b20e9ba5600590c1779d5b6daa9d57c003430adb27377e2"
4+
"windows_x86_64": "134b8248ce23b7e471cdc32c1a917011f510bba9f5bf0ca5be32afcc86bc9547",
5+
"linux_arm64": "efabe2eb9ec8a1e9794f0fe3e0a0ebf1ce7a20105dedd6baf0161503e84a438d",
6+
"darwin_arm64": "43a92cc573a425a5ce305f61c675acc75f6bbcfb144649796edf5fc4c08fbfd4",
7+
"darwin_x86_64": "dd0bd566a4e9eb41ff7e80607105ddd7e9e70c7fbda26771bf1d7608f332c9db",
8+
"windows_arm64": "17c4e9db6e2d5bf82e63232ac893ff4d56bcbf22bc43fd99c69ab7a41dd2e188",
9+
"linux_x86_64": "ed06fd82a8c408e12f2290d369cdd689e88bb3bac0a7e1e7808150eb1aedf54c"
1010
}
1111
}

gitlab/__tests__/main.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ so that the job will upload the files as the job artifacts:
9191
9292
\`\`\`yaml
9393
include:
94-
- component: $CI_SERVER_FQDN/qodana/qodana/qodana-gitlab-ci@2025.1.1
94+
- component: $CI_SERVER_FQDN/qodana/qodana/qodana-gitlab-ci@2025.2.1
9595
inputs:
9696
upload-result: true
9797
\`\`\`

gitlab/dist/qodana-gitlab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
3838
var version, checksum;
3939
var init_cli = __esm({
4040
"../common/cli.json"() {
41-
version = "2025.1.1";
41+
version = "2025.2.1";
4242
checksum = {
4343
windows_x86_64: "9b6b30b295b1cc0e60c2be04f4f0054d19a35b79e13c3544c054c1bd052da164",
4444
linux_arm64: "656527c02c9a12351949f96064a9599c591de2eec856d218f23ad0ea49445602",

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
name=Qodana for Gradle
1818
projectGroup=org.jetbrains.qodana
19-
majorVersion=2025.1
19+
majorVersion=2025.2
2020
buildNumber=0-SNAPSHOT
2121
description=Qodana for Gradle plugin allows to run and configure Qodana analysis for Gradle projects.
2222
tags=qodana,intellij,idea,inspections

orb/commands/scan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ parameters:
3434
Optional.
3535
primary-cache-key:
3636
type: string
37-
default: qodana-2025.1-<< pipeline.git.branch >>-<< pipeline.git.revision >>
37+
default: qodana-2025.2-<< pipeline.git.branch >>-<< pipeline.git.revision >>
3838
description: >
3939
Allows customizing the primary cache hash.
4040
Optional.
4141
additional-cache-key:
4242
type: string
43-
default: qodana-2025.1-<< pipeline.git.branch >>
43+
default: qodana-2025.2-<< pipeline.git.branch >>
4444
description: >
4545
Allows customizing the additional cache hash.
4646
Optional.
@@ -53,12 +53,12 @@ steps:
5353
name: Qodana Scan
5454
command: |
5555
set -e
56-
QODANA_SHA_256=6d15923f59f55f3bbed7cf751a16d3785eaa5e49c451a27bd1b5877d574e6f8c
57-
CLI_DIRECTORY=/tmp/cache/qodana-cli/2025.1.1
56+
QODANA_SHA_256=b3ece16d6c2df90c3b27453542c43dec803b5f8df584227eff81320694985700
57+
CLI_DIRECTORY=/tmp/cache/qodana-cli/2025.2.1
5858
mkdir -p $CLI_DIRECTORY
5959
if [[ ! -x "$CLI_DIRECTORY/qodana" ]]; then
6060
curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- \
61-
v2025.1.1 $CLI_DIRECTORY \
61+
v2025.2.1 $CLI_DIRECTORY \
6262
1> /dev/null
6363
fi
6464
echo "$QODANA_SHA_256 $CLI_DIRECTORY/qodana" | sha256sum -c

0 commit comments

Comments
 (0)