Skip to content

Commit

Permalink
⬆️ Update qodana to v2024.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
qodana-bot authored and tiulpin committed Jul 3, 2024
1 parent 6e3efa9 commit c96b39a
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 35 deletions.
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.1.7"
id "org.jetbrains.qodana" version "2024.1.8"
}
```
- Kotlin DSL – `build.gradle.kts`
```kotlin
plugins {
id("org.jetbrains.qodana") version "2024.1.7"
id("org.jetbrains.qodana") version "2024.1.8"
}
```
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.1.7"
id "org.jetbrains.qodana" version "2024.1.8"
}
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.1.7"
id("org.jetbrains.qodana") version "2024.1.8"
}
qodana {
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ version = "${properties("majorVersion").get()}.${properties("buildNumber").get()

kotlin {
jvmToolchain(8)
version = "2024.1.7"
version = "2024.1.8"
}

tasks.register<Jar>("jarSources") {
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.1.7",
"version": "2024.1.8",
"checksum": {
"windows_x86_64": "c7523a1332f566519111dad70b7f39e25aabe2b4db7790c8eeb0503e8e0bc5a8",
"linux_arm64": "ba196787569f97519d002446844ee72402e3700d86c475c3145088ec9d4dcfc2",
"darwin_arm64": "abaf85c4295760e4c8cc75518c16ea7d68818a2a8438cf8005640b13a87f58af",
"darwin_x86_64": "20b296f31f00e9aac0ab186a85cf13d03d49b737bda5ec37f8ed82316ffa2d45",
"windows_arm64": "26709690340e873b37288beabec93a570fa0530a59fb43cdac3eb7e9df5dc1dc",
"linux_x86_64": "49173d02499c9bf485c02a76315d208d8382cd02cbf0b135dc741a2c74922095"
"windows_x86_64": "99e86c8d07d96512379d467a8f8198fe0a831f5fc7f4a41cca1906c1953a41af",
"linux_arm64": "bcd8bc1b38e80232e23279ab0cbabb671cedb4b3e037ebfa9557d36172593597",
"darwin_arm64": "7551d6cc370eaa781aad13b93a46e5209c2a3b7edbd66a1ad6d62ac6ff61cb34",
"darwin_x86_64": "6cba08f174d2c44bc381759e23a69306e9119ef3c4ebc626310d480f1347f08e",
"windows_arm64": "9a1dbb2143dc2639381573598d945a5d7464e1e80fa826bb4608f06551549a25",
"linux_x86_64": "434ba9287b915948b0aa3a5bb1c38fee3244f28523e5bd4f2fe6b4d38b8eba73"
}
}
8 changes: 8 additions & 0 deletions common/src/main/kotlin/org/jetbrains/qodana/cli/Checksums.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ val CHECKSUMS = mapOf(
"darwin_x86_64" to "21ce44b0ab96573ef75406e741e132e2f8c92c2e24d1d0370871276135c525ca",
"darwin_arm64" to "fee1093b5d8202405615f2630ae44621c3168e59b7f5703a9e453f8666a0cae2"
),
"2024.1.8" to mapOf(
"windows_x86_64" to "4bef4954573b37a45ed2eaaf6688a30f1a006bc8470f2189ebece44816a3d88d",
"windows_arm64" to "f97611e8a40a61ee44f914a20ccd2880f05a38321d450044e33ce1aeffcaaf8c",
"linux_x86_64" to "e5d3302e5c00d6bdc0f530f4e4852805b88abc65f34943bc42a61bd33e0bd5c5",
"linux_arm64" to "f1b8ba1be5dc453ba87de4f75c5f86e59445bb13de407f809ce4475a04b1a70d",
"darwin_x86_64" to "8fcbeba68026f33a0d265b064bbb607e86c8775d4e9aade0cabf1b2620ad6015",
"darwin_arm64" to "b80167f5a4ff2c054671b985ab1dcc4d59d149c86fd1155935543ad4d05c7aa7"
)
)
2 changes: 1 addition & 1 deletion common/src/main/kotlin/org/jetbrains/qodana/cli/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 = "2024.1.7"
private const val LATEST_VERSION = "2024.1.8"
private const val RELEASE_DOWNLOAD_URL =
"https://github.com/JetBrains/qodana-cli/releases/download/v%s/qodana_%s_%s"

Expand Down
6 changes: 3 additions & 3 deletions orb/commands/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ steps:
name: Qodana Scan
command: |
set -e
QODANA_SHA_256=b98b54405c54203976b3b28e18a57b4f33bdb6f2bb7c5768ef3560cb4dc5cfcb
CLI_DIRECTORY=/tmp/cache/qodana-cli/2024.1.7
QODANA_SHA_256=e5d3302e5c00d6bdc0f530f4e4852805b88abc65f34943bc42a61bd33e0bd5c5
CLI_DIRECTORY=/tmp/cache/qodana-cli/2024.1.8
mkdir -p $CLI_DIRECTORY
if [[ ! -x "$CLI_DIRECTORY/qodana" ]]; then
curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- \
v2024.1.7 $CLI_DIRECTORY \
v2024.1.8 $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.1.7
qodana: jetbrains/qodana@2024.1.8
jobs:
code-quality:
machine:
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.1.7'
'v2024.1.8'
]
for (let branchName of validBranchNames) {
expect(validateBranchName(branchName)).toEqual(branchName)
Expand Down Expand Up @@ -334,7 +334,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.1.7
uses: JetBrains/qodana-action@v2024.1.8
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 @@ -24193,14 +24193,14 @@ var require_io = __commonJS({
var version2, checksum;
var init_cli = __esm({
"../common/cli.json"() {
version2 = "2024.1.7";
version2 = "2024.1.8";
checksum = {
windows_x86_64: "c7523a1332f566519111dad70b7f39e25aabe2b4db7790c8eeb0503e8e0bc5a8",
linux_arm64: "ba196787569f97519d002446844ee72402e3700d86c475c3145088ec9d4dcfc2",
darwin_arm64: "abaf85c4295760e4c8cc75518c16ea7d68818a2a8438cf8005640b13a87f58af",
darwin_x86_64: "20b296f31f00e9aac0ab186a85cf13d03d49b737bda5ec37f8ed82316ffa2d45",
windows_arm64: "26709690340e873b37288beabec93a570fa0530a59fb43cdac3eb7e9df5dc1dc",
linux_x86_64: "49173d02499c9bf485c02a76315d208d8382cd02cbf0b135dc741a2c74922095"
windows_x86_64: "99e86c8d07d96512379d467a8f8198fe0a831f5fc7f4a41cca1906c1953a41af",
linux_arm64: "bcd8bc1b38e80232e23279ab0cbabb671cedb4b3e037ebfa9557d36172593597",
darwin_arm64: "7551d6cc370eaa781aad13b93a46e5209c2a3b7edbd66a1ad6d62ac6ff61cb34",
darwin_x86_64: "6cba08f174d2c44bc381759e23a69306e9119ef3c4ebc626310d480f1347f08e",
windows_arm64: "9a1dbb2143dc2639381573598d945a5d7464e1e80fa826bb4608f06551549a25",
linux_x86_64: "434ba9287b915948b0aa3a5bb1c38fee3244f28523e5bd4f2fe6b4d38b8eba73"
};
}
});
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.1.7";
version = "2024.1.8";
checksum = {
windows_x86_64: "c7523a1332f566519111dad70b7f39e25aabe2b4db7790c8eeb0503e8e0bc5a8",
linux_arm64: "ba196787569f97519d002446844ee72402e3700d86c475c3145088ec9d4dcfc2",
darwin_arm64: "abaf85c4295760e4c8cc75518c16ea7d68818a2a8438cf8005640b13a87f58af",
darwin_x86_64: "20b296f31f00e9aac0ab186a85cf13d03d49b737bda5ec37f8ed82316ffa2d45",
windows_arm64: "26709690340e873b37288beabec93a570fa0530a59fb43cdac3eb7e9df5dc1dc",
linux_x86_64: "49173d02499c9bf485c02a76315d208d8382cd02cbf0b135dc741a2c74922095"
windows_x86_64: "99e86c8d07d96512379d467a8f8198fe0a831f5fc7f4a41cca1906c1953a41af",
linux_arm64: "bcd8bc1b38e80232e23279ab0cbabb671cedb4b3e037ebfa9557d36172593597",
darwin_arm64: "7551d6cc370eaa781aad13b93a46e5209c2a3b7edbd66a1ad6d62ac6ff61cb34",
darwin_x86_64: "6cba08f174d2c44bc381759e23a69306e9119ef3c4ebc626310d480f1347f08e",
windows_arm64: "9a1dbb2143dc2639381573598d945a5d7464e1e80fa826bb4608f06551549a25",
linux_x86_64: "434ba9287b915948b0aa3a5bb1c38fee3244f28523e5bd4f2fe6b4d38b8eba73"
};
}
});
Expand Down
2 changes: 1 addition & 1 deletion vsts/QodanaScan/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"version": {
"Major": 2024,
"Minor": 1,
"Patch": 7
"Patch": 8
},
"instanceNameFormat": "Qodana Scan",
"inputs": [
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.1.7",
"version": "2024.1.8",
"public": true,
"publisher": "JetBrains",
"targets": [
Expand Down

0 comments on commit c96b39a

Please sign in to comment.