Skip to content

Commit

Permalink
⬆️ Update qodana to v2024.3.2
Browse files Browse the repository at this point in the history
Co-authored-by: brichbash <74328414+brichbash@users.noreply.github.com>
  • Loading branch information
qodana-bot and brichbash authored Dec 11, 2024
1 parent 383daee commit 79719b7
Show file tree
Hide file tree
Showing 18 changed files with 65 additions and 57 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,34 +102,34 @@ jobs:
include:
- directory: 'tests/dotnet'
os: 'ubuntu-latest'
arguments: '-l,jetbrains/qodana-cdnet:2024.2-eap'
arguments: '-l,jetbrains/qodana-cdnet:2024.3-eap'
pr: 'false' # TODO: add true when pr-mode is available for dotnet-community
- directory: 'tests/cpp'
arguments: '-l,jetbrains/qodana-clang:2024.2-eap'
arguments: '-l,jetbrains/qodana-clang:2024.3-eap'
os: 'ubuntu-latest'
pr: 'false'
- directory: 'tests/java'
arguments: '-l,jetbrains/qodana-jvm-community:2024.2'
arguments: '-l,jetbrains/qodana-jvm-community:2024.3'
os: 'ubuntu-latest'
pr: 'true'
- directory: 'tests/java'
arguments: '-l,jetbrains/qodana-jvm-community:2024.2'
arguments: '-l,jetbrains/qodana-jvm-community:2024.3'
os: 'ubuntu-latest'
pr: 'false'
- directory: 'tests/java'
arguments: '-l,jetbrains/qodana-jvm-android:2024.2'
arguments: '-l,jetbrains/qodana-jvm-android:2024.3'
os: 'ubuntu-latest'
pr: 'true'
- directory: 'tests/java'
arguments: '-l,jetbrains/qodana-jvm-android:2024.2'
arguments: '-l,jetbrains/qodana-jvm-android:2024.3'
os: 'ubuntu-latest'
pr: 'false'
- directory: 'tests/py_error'
arguments: '-l,jetbrains/qodana-python-community:2024.2'
arguments: '-l,jetbrains/qodana-python-community:2024.3'
os: 'ubuntu-latest'
pr: 'true'
- directory: 'tests/py_error'
arguments: '-l,jetbrains/qodana-python-community:2024.2'
arguments: '-l,jetbrains/qodana-python-community:2024.3'
os: 'ubuntu-latest'
pr: 'false'
- directory: 'tests/dotnet'
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Apply Gradle Qodana Plugin with snapshot version in Gradle configuration file an

```groovy
plugins {
id "org.jetbrains.qodana" version "2024.2.0-SNAPSHOT"
id "org.jetbrains.qodana" version "2024.3.0-SNAPSHOT"
}
qodana {
Expand All @@ -145,7 +145,7 @@ Apply Gradle Qodana Plugin with snapshot version in Gradle configuration file an

```kotlin
plugins {
id("org.jetbrains.qodana") version "2024.2.0-SNAPSHOT"
id("org.jetbrains.qodana") version "2024.3.0-SNAPSHOT"
}

qodana {
Expand Down
8 changes: 4 additions & 4 deletions GRADLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Apply Gradle plugin `org.jetbrains.qodana` in the Gradle configuration file:
```groovy
plugins {
id "org.jetbrains.qodana" version "2024.2.6"
id "org.jetbrains.qodana" version "2024.3.2"
}
```
- Kotlin DSL – `build.gradle.kts`
```kotlin
plugins {
id("org.jetbrains.qodana") version "2024.2.6"
id("org.jetbrains.qodana") version "2024.3.2"
}
```
Expand Down Expand Up @@ -64,7 +64,7 @@ Add this to your Gradle configuration file:
```groovy
plugins {
// applies Gradle Qodana plugin to use it in project
id "org.jetbrains.qodana" version "2024.2.6"
id "org.jetbrains.qodana" version "2024.3.2"
}
qodana {
Expand All @@ -82,7 +82,7 @@ Add this to your Gradle configuration file:
```kotlin
plugins {
// applies Gradle Qodana plugin to use it in project
id("org.jetbrains.qodana") version "2024.2.6"
id("org.jetbrains.qodana") version "2024.3.2"
}
qodana {
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.2
uses: JetBrains/qodana-action@v2024.3
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} # read the steps about it below
```
Expand Down Expand Up @@ -96,7 +96,7 @@ Example configuration:

```yaml
- name: Qodana Scan
uses: JetBrains/qodana-action@v2024.2
uses: JetBrains/qodana-action@v2024.3
with:
pr-mode: false
args: --apply-fixes
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.2
uses: JetBrains/qodana-action@v2024.3
with:
args: --cleanup
- run: |
Expand Down Expand Up @@ -272,8 +272,8 @@ with:
| `artifact-name` | Specify Qodana results artifact name, used for results uploading. Optional. | `qodana-report` |
| `cache-dir` | Directory to store Qodana cache. Optional. | `${{ runner.temp }}/qodana/caches` |
| `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` |
| `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-2024.2-${{ github.ref }}-${{ github.sha }}` |
| `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-2024.2-${{ github.ref }}` |
| `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-2024.3-${{ github.ref }}-${{ github.sha }}` |
| `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-2024.3-${{ github.ref }}` |
| `cache-default-branch-only` | Upload cache for the default branch only. Optional. | `false` |
| `use-annotations` | Use annotation to mark the results in the GitHub user interface. Optional. | `true` |
| `pr-mode` | Analyze ONLY changed files in a pull request. Optional. | `true` |
Expand Down
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ inputs:
primary-cache-key:
description: 'Set the primary cache key'
required: false
default: "qodana-2024.2-${{ github.ref }}-${{ github.sha }}"
default: "qodana-2024.3-${{ github.ref }}-${{ github.sha }}"
additional-cache-key:
description: 'Set the additional cache key'
required: false
default: "qodana-2024.2-${{ github.ref }}"
default: "qodana-2024.3-${{ github.ref }}"
cache-default-branch-only:
description: 'Upload cache for the default branch only'
required: false
Expand Down
14 changes: 7 additions & 7 deletions common/cli.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "2024.2.6",
"version": "2024.3.2",
"checksum": {
"windows_x86_64": "a63c618048aaab42c7448e5307f53cc8046d744f27cc769074529daf4bb09a8f",
"linux_arm64": "77189751f3c04205613dde5890bae7c47143cb68c1cf542524d8c5b59aeccf8b",
"darwin_arm64": "f5e1e2a64f0ef03b58f95f78beff0891610d0ea9fd80575d366128b109d116c2",
"darwin_x86_64": "6993e105f8fd83101d099015a97cf2bdb4fab53d6dd59ce4160c1b64a22ecd70",
"windows_arm64": "ae59b153135db484d5481723ec922c427028637833003b3b1762ac2686f0a885",
"linux_x86_64": "655d227ca5783df9b12319db00b07ae1e98598e7cd9bb6738d333c7e963d8779"
"windows_x86_64": "d2260f5d2cfd18c0795adcaf7ff57f77d2e7f9d0ce888531c443923388262eec",
"linux_arm64": "8086568b6c62fb7f109c33d8f04f68cf060db4cd260a46d5f581fb093474ecc7",
"darwin_arm64": "03962c7c513b6a1ca67164bbcb65f8673a60cff6fe13f618598439b45d352084",
"darwin_x86_64": "e70904e0c4fc1d56a8d5f1e2682ccbe168b41b973dac2c5fe42f9b31837dbd86",
"windows_arm64": "940e9a84b03db0b5e67f93299879e804984b3893577a58b2424dbc5c2db39cbe",
"linux_x86_64": "a7a47898971fe2c7db08d10afc40292736df33e9b33d9d84b8672f3ec246da04"
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

name=Qodana for Gradle
projectGroup=org.jetbrains.qodana
majorVersion=2024.2
majorVersion=2024.3
buildNumber=0-SNAPSHOT
description=Qodana for Gradle plugin allows to run and configure Qodana analysis for Gradle projects.
tags=qodana,intellij,idea,inspections
Expand Down
10 changes: 5 additions & 5 deletions orb/commands/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ parameters:
Optional.
primary-cache-key:
type: string
default: qodana-2024.2-<< pipeline.git.branch >>-<< pipeline.git.revision >>
default: qodana-2024.3-<< pipeline.git.branch >>-<< pipeline.git.revision >>
description: >
Allows customizing the primary cache hash.
Optional.
additional-cache-key:
type: string
default: qodana-2024.2-<< pipeline.git.branch >>
default: qodana-2024.3-<< pipeline.git.branch >>
description: >
Allows customizing the additional cache hash.
Optional.
Expand All @@ -53,12 +53,12 @@ steps:
name: Qodana Scan
command: |
set -e
QODANA_SHA_256=f567e52961d8a85595a55f1d716d075e337d6cb9fe901ba1e1ec60d33bd32112
CLI_DIRECTORY=/tmp/cache/qodana-cli/2024.2.6
QODANA_SHA_256=d5025e1ef5cd61c7d7fb99951f6f9256f07876a388945a5dafa7895669ef4e9e
CLI_DIRECTORY=/tmp/cache/qodana-cli/2024.3.2
mkdir -p $CLI_DIRECTORY
if [[ ! -x "$CLI_DIRECTORY/qodana" ]]; then
curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- \
v2024.2.6 $CLI_DIRECTORY \
v2024.3.2 $CLI_DIRECTORY \
1> /dev/null
fi
echo "$QODANA_SHA_256 $CLI_DIRECTORY/qodana" | sha256sum -c
Expand Down
2 changes: 1 addition & 1 deletion orb/examples/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: >
usage:
version: 2.1
orbs:
qodana: jetbrains/qodana@2024.2.6
qodana: jetbrains/qodana@2024.3.2
jobs:
code-quality:
machine:
Expand Down
8 changes: 8 additions & 0 deletions plugin/src/main/kotlin/org/jetbrains/qodana/Checksums.kt
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,13 @@ val CHECKSUMS = mapOf(
"linux_arm64" to "f29cdb74b592bdeb426bb93f121bcbfc5f1d64b8e4ebff9d924ba7b8260b262d",
"darwin_x86_64" to "6150f9673670d48ccb4a94b7d9e1d92a8932a76349bb483d36816013ba9f26c6",
"darwin_arm64" to "24ac3750fcba2532c02c48411eaf76aaf29058f0daf851ee4d449031b621e9fa"
),
"2024.3.2" to mapOf(
"windows_x86_64" to "23d5e0afdebdcd0c9a28117c0d5b7c5a33300876637fa96eef1b1668d0a71f49",
"windows_arm64" to "5cb634fad9b88377d7d53593f89ea3b8aa7d748b9d34108c0d5b8c4a460245d0",
"linux_x86_64" to "d5025e1ef5cd61c7d7fb99951f6f9256f07876a388945a5dafa7895669ef4e9e",
"linux_arm64" to "f1f4a85693ba701fc13d3f70e94679b5be7d8a07d4087ceeb1195cf24895e77c",
"darwin_x86_64" to "17afbd22c8538b01b45a1aee3e1697ae5fd835d92ed1c916085e092f01cdd24f",
"darwin_arm64" to "70c4dfd3d9b63f45af3a1538bb1e52560ef55c8dbfe61e00494a3666abf1ad5a"
)
)
2 changes: 1 addition & 1 deletion plugin/src/main/kotlin/org/jetbrains/qodana/Qodana.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Installer {
val log: Logger = Logger.getLogger(Installer::class.java.name)

companion object {
private const val LATEST_VERSION = "v2024.2.6"
private const val LATEST_VERSION = "v2024.3.2"
private const val RELEASE_DOWNLOAD_URL =
"https://github.com/JetBrains/qodana-cli/releases/download/%s/qodana_%s_%s"

Expand Down
4 changes: 2 additions & 2 deletions scan/__tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('validate branch names', () => {
'refs/heads/main',
'refs/tags/v1.0.0',
'refs/pull/123/merge',
'v2024.2.6'
'v2024.3.2'
]
for (let branchName of validBranchNames) {
expect(validateBranchName(branchName)).toEqual(branchName)
Expand Down Expand Up @@ -332,7 +332,7 @@ To get \`*.log\` files or any other Qodana artifacts, run the action with \`uplo
so that the action will upload the files as the job artifacts:
\`\`\`yaml
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.2.6
uses: JetBrains/qodana-action@v2024.3.2
with:
upload-result: true
\`\`\`
Expand Down
14 changes: 7 additions & 7 deletions scan/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24614,14 +24614,14 @@ var require_github = __commonJS({
var version, checksum;
var init_cli = __esm({
"../common/cli.json"() {
version = "2024.2.6";
version = "2024.3.2";
checksum = {
windows_x86_64: "a63c618048aaab42c7448e5307f53cc8046d744f27cc769074529daf4bb09a8f",
linux_arm64: "77189751f3c04205613dde5890bae7c47143cb68c1cf542524d8c5b59aeccf8b",
darwin_arm64: "f5e1e2a64f0ef03b58f95f78beff0891610d0ea9fd80575d366128b109d116c2",
darwin_x86_64: "6993e105f8fd83101d099015a97cf2bdb4fab53d6dd59ce4160c1b64a22ecd70",
windows_arm64: "ae59b153135db484d5481723ec922c427028637833003b3b1762ac2686f0a885",
linux_x86_64: "655d227ca5783df9b12319db00b07ae1e98598e7cd9bb6738d333c7e963d8779"
windows_x86_64: "d2260f5d2cfd18c0795adcaf7ff57f77d2e7f9d0ce888531c443923388262eec",
linux_arm64: "8086568b6c62fb7f109c33d8f04f68cf060db4cd260a46d5f581fb093474ecc7",
darwin_arm64: "03962c7c513b6a1ca67164bbcb65f8673a60cff6fe13f618598439b45d352084",
darwin_x86_64: "e70904e0c4fc1d56a8d5f1e2682ccbe168b41b973dac2c5fe42f9b31837dbd86",
windows_arm64: "940e9a84b03db0b5e67f93299879e804984b3893577a58b2424dbc5c2db39cbe",
linux_x86_64: "a7a47898971fe2c7db08d10afc40292736df33e9b33d9d84b8672f3ec246da04"
};
}
});
Expand Down
2 changes: 1 addition & 1 deletion scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "tsc --build .",
"package": "../node_modules/.bin/esbuild lib/main.js --platform=node --keep-names --bundle --outfile=dist/index.js",
"test": "jest --config jest.config.js",
"readme": "cp ../.github/md/github.md ../README.md && curl -sS https://raw.githubusercontent.com/JetBrains/Qodana/2024.2/topics/github.md >> ../README.md && cat ../.github/md/tracker.md >> ../README.md"
"readme": "cp ../.github/md/github.md ../README.md && curl -sS https://raw.githubusercontent.com/JetBrains/Qodana/2024.3/topics/github.md >> ../README.md && cat ../.github/md/tracker.md >> ../README.md"
},
"repository": {
"type": "git",
Expand Down
14 changes: 7 additions & 7 deletions vsts/QodanaScan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
var version, checksum;
var init_cli = __esm({
"../common/cli.json"() {
version = "2024.2.6";
version = "2024.3.2";
checksum = {
windows_x86_64: "a63c618048aaab42c7448e5307f53cc8046d744f27cc769074529daf4bb09a8f",
linux_arm64: "77189751f3c04205613dde5890bae7c47143cb68c1cf542524d8c5b59aeccf8b",
darwin_arm64: "f5e1e2a64f0ef03b58f95f78beff0891610d0ea9fd80575d366128b109d116c2",
darwin_x86_64: "6993e105f8fd83101d099015a97cf2bdb4fab53d6dd59ce4160c1b64a22ecd70",
windows_arm64: "ae59b153135db484d5481723ec922c427028637833003b3b1762ac2686f0a885",
linux_x86_64: "655d227ca5783df9b12319db00b07ae1e98598e7cd9bb6738d333c7e963d8779"
windows_x86_64: "d2260f5d2cfd18c0795adcaf7ff57f77d2e7f9d0ce888531c443923388262eec",
linux_arm64: "8086568b6c62fb7f109c33d8f04f68cf060db4cd260a46d5f581fb093474ecc7",
darwin_arm64: "03962c7c513b6a1ca67164bbcb65f8673a60cff6fe13f618598439b45d352084",
darwin_x86_64: "e70904e0c4fc1d56a8d5f1e2682ccbe168b41b973dac2c5fe42f9b31837dbd86",
windows_arm64: "940e9a84b03db0b5e67f93299879e804984b3893577a58b2424dbc5c2db39cbe",
linux_x86_64: "a7a47898971fe2c7db08d10afc40292736df33e9b33d9d84b8672f3ec246da04"
};
}
});
Expand Down
4 changes: 2 additions & 2 deletions vsts/QodanaScan/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "JetBrains",
"version": {
"Major": 2024,
"Minor": 2,
"Patch": 6
"Minor": 3,
"Patch": 2
},
"instanceNameFormat": "Qodana Scan",
"inputs": [
Expand Down
2 changes: 1 addition & 1 deletion vsts/vss-extension.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "qodana-dev",
"name": "Qodana (Dev)",
"version": "2024.2.133",
"version": "2024.3.132",
"publisher": "JetBrains",
"targets": [
{
Expand Down
2 changes: 1 addition & 1 deletion vsts/vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "qodana",
"name": "Qodana",
"version": "2024.2.6",
"version": "2024.3.2",
"public": true,
"publisher": "JetBrains",
"targets": [
Expand Down

0 comments on commit 79719b7

Please sign in to comment.