diff --git a/README.md b/README.md index 7e9bfab5..9e1aa0d4 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ jobs: with: fetch-depth: 0 - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2022.3.2 + uses: JetBrains/qodana-action@v2022.3.3 ``` Using this workflow, Qodana will run on the main branch, release branches, and on the pull requests coming to your @@ -71,7 +71,7 @@ To send the results to Qodana Cloud, all you need to do is to specify the `QODAN ```yaml - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2022.3.2 + uses: JetBrains/qodana-action@v2022.3.3 env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} ``` @@ -151,7 +151,7 @@ qodana scan --show-report ```yaml - name: Qodana Scan - uses: JetBrains/qodana-action@v2022.3.2 + uses: JetBrains/qodana-action@v2022.3.3 with: args: --baseline,qodana.sarif.json ``` diff --git a/common/qodana.ts b/common/qodana.ts index 669bf211..922e997c 100644 --- a/common/qodana.ts +++ b/common/qodana.ts @@ -9,22 +9,22 @@ export const FAIL_THRESHOLD_OUTPUT = 'The number of problems exceeds the failThreshold' export const QODANA_SARIF_NAME = 'qodana.sarif.json' export const QODANA_SHORT_SARIF_NAME = 'qodana-short.sarif.json' -export const VERSION = '2022.3.2' +export const VERSION = '2022.3.3' export const EXECUTABLE = 'qodana' export function getQodanaSha256(arch: string, platform: string): string { switch (`${platform}_${arch}`) { case 'windows_x86_64': - return 'f9266fc91c4552ac54be8b3a1de59787b02da7d2300422ce13ffdb7a49bf3d20' + return 'bfa0e823962263f8d51036f94152002efd25f6499c3394d26e962e94fe115780' case 'windows_arm64': - return 'e2f29c30c7db5a901bae22a03cbff081947bdc51e869de09f9b3641d17d5dca2' + return 'aded1dd1765ec9aff5033d9cbd49445dbd4fec13c684d2d015523bbf10f41529' case 'linux_x86_64': - return '33c2819dae7762303d7a9087deabae1823de98d2bd2316271729aded8f4212ab' + return '166b1f364b80c660ecd644f5c3009fb677bbeae33f58bc5e9e28a3dc6988eb6c' case 'linux_arm64': - return '74870ad073d0751a4b81e5e2050589cfc9ec2e425336aa3edbfeda81aa185a25' + return '81422f12bccb67dfaa8ab6994a8a5e076d95b39a5ef95b0481d6a2e40c76fc53' case 'darwin_x86_64': - return 'a83ec03e6b60f0790d73b339fdcc867c9deae5463377b8592c48c8b237c30506' + return 'aa6e2498803cb3c1f2def8bbe7e439e3887e1aac609ca243e0e341cd360d0c91' case 'darwin_arm64': - return '8fc1fe8ef419969cfcae5b90ca30f5604041676659c2cb2f89e161c4eff355f1' + return '8acc312a46821cf90f94be94b22582fc1aa19a443a80952a292f1fb1c00946d1' default: throw new Error(`Qodana CLI does not exist for ${platform}_${arch}`) } diff --git a/scan/dist/index.js b/scan/dist/index.js index 372c2cd3..e0966865 100644 --- a/scan/dist/index.js +++ b/scan/dist/index.js @@ -2796,17 +2796,17 @@ __export(qodana_exports, { function getQodanaSha256(arch, platform) { switch (`${platform}_${arch}`) { case "windows_x86_64": - return "f9266fc91c4552ac54be8b3a1de59787b02da7d2300422ce13ffdb7a49bf3d20"; + return "bfa0e823962263f8d51036f94152002efd25f6499c3394d26e962e94fe115780"; case "windows_arm64": - return "e2f29c30c7db5a901bae22a03cbff081947bdc51e869de09f9b3641d17d5dca2"; + return "aded1dd1765ec9aff5033d9cbd49445dbd4fec13c684d2d015523bbf10f41529"; case "linux_x86_64": - return "33c2819dae7762303d7a9087deabae1823de98d2bd2316271729aded8f4212ab"; + return "166b1f364b80c660ecd644f5c3009fb677bbeae33f58bc5e9e28a3dc6988eb6c"; case "linux_arm64": - return "74870ad073d0751a4b81e5e2050589cfc9ec2e425336aa3edbfeda81aa185a25"; + return "81422f12bccb67dfaa8ab6994a8a5e076d95b39a5ef95b0481d6a2e40c76fc53"; case "darwin_x86_64": - return "a83ec03e6b60f0790d73b339fdcc867c9deae5463377b8592c48c8b237c30506"; + return "aa6e2498803cb3c1f2def8bbe7e439e3887e1aac609ca243e0e341cd360d0c91"; case "darwin_arm64": - return "8fc1fe8ef419969cfcae5b90ca30f5604041676659c2cb2f89e161c4eff355f1"; + return "8acc312a46821cf90f94be94b22582fc1aa19a443a80952a292f1fb1c00946d1"; default: throw new Error(`Qodana CLI does not exist for ${platform}_${arch}`); } @@ -2884,7 +2884,7 @@ var init_qodana = __esm({ FAIL_THRESHOLD_OUTPUT = "The number of problems exceeds the failThreshold"; QODANA_SARIF_NAME = "qodana.sarif.json"; QODANA_SHORT_SARIF_NAME = "qodana-short.sarif.json"; - VERSION = "2022.3.2"; + VERSION = "2022.3.3"; EXECUTABLE = "qodana"; __name(getQodanaSha256, "getQodanaSha256"); __name(getProcessArchName, "getProcessArchName"); diff --git a/src/commands/scan.yml b/src/commands/scan.yml index 205f2b84..8ae6c257 100644 --- a/src/commands/scan.yml +++ b/src/commands/scan.yml @@ -41,20 +41,20 @@ parameters: steps: - restore_cache: keys: - - qodana-{{ .Branch }}-2022.3.2-<< parameters.additional-cache-hash >> - - qodana-{{ .Branch }}-2022.3.2- + - qodana-{{ .Branch }}-2022.3.3-<< parameters.additional-cache-hash >> + - qodana-{{ .Branch }}-2022.3.3- - qodana-{{ .Branch }}- - qodana- - run: name: Qodana Scan command: | set -e - QODANA_SHA_256=4712869f6e4883910188c66c17be0ce4cfda49c0597dc227ceefb8d03e934e0a - CLI_DIRECTORY=/tmp/cache/qodana-cli/2022.3.2 + QODANA_SHA_256=fa489ddceda9578c63dbff5433cc9a7d152d350de66267083d5e634cc5505b65 + CLI_DIRECTORY=/tmp/cache/qodana-cli/2022.3.3 mkdir -p $CLI_DIRECTORY if [[ ! -x "$CLI_DIRECTORY/qodana" ]]; then curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- \ - v2022.3.2 $CLI_DIRECTORY \ + v2022.3.3 $CLI_DIRECTORY \ 1> /dev/null fi echo "$QODANA_SHA_256 $CLI_DIRECTORY/qodana" | sha256sum -c @@ -66,7 +66,7 @@ steps: path: << parameters.results-dir >> destination: << parameters.artifact-name >> - save_cache: - key: qodana-{{ .Branch }}-2022.3.2-<< parameters.additional-cache-hash >> + key: qodana-{{ .Branch }}-2022.3.3-<< parameters.additional-cache-hash >> paths: - << parameters.cache-dir >> - /tmp/cache/qodana-cli/ diff --git a/src/examples/scan.yml b/src/examples/scan.yml index b0941681..c009a061 100755 --- a/src/examples/scan.yml +++ b/src/examples/scan.yml @@ -3,7 +3,7 @@ description: > usage: version: 2.1 orbs: - qodana: jetbrains/qodana@2022.3.2 + qodana: jetbrains/qodana@2022.3.3 jobs: code-quality: machine: diff --git a/vsts/QodanaScan/index.js b/vsts/QodanaScan/index.js index a884167b..9884bfd6 100644 --- a/vsts/QodanaScan/index.js +++ b/vsts/QodanaScan/index.js @@ -53,17 +53,17 @@ __export(qodana_exports, { function getQodanaSha256(arch, platform) { switch (`${platform}_${arch}`) { case "windows_x86_64": - return "f9266fc91c4552ac54be8b3a1de59787b02da7d2300422ce13ffdb7a49bf3d20"; + return "bfa0e823962263f8d51036f94152002efd25f6499c3394d26e962e94fe115780"; case "windows_arm64": - return "e2f29c30c7db5a901bae22a03cbff081947bdc51e869de09f9b3641d17d5dca2"; + return "aded1dd1765ec9aff5033d9cbd49445dbd4fec13c684d2d015523bbf10f41529"; case "linux_x86_64": - return "33c2819dae7762303d7a9087deabae1823de98d2bd2316271729aded8f4212ab"; + return "166b1f364b80c660ecd644f5c3009fb677bbeae33f58bc5e9e28a3dc6988eb6c"; case "linux_arm64": - return "74870ad073d0751a4b81e5e2050589cfc9ec2e425336aa3edbfeda81aa185a25"; + return "81422f12bccb67dfaa8ab6994a8a5e076d95b39a5ef95b0481d6a2e40c76fc53"; case "darwin_x86_64": - return "a83ec03e6b60f0790d73b339fdcc867c9deae5463377b8592c48c8b237c30506"; + return "aa6e2498803cb3c1f2def8bbe7e439e3887e1aac609ca243e0e341cd360d0c91"; case "darwin_arm64": - return "8fc1fe8ef419969cfcae5b90ca30f5604041676659c2cb2f89e161c4eff355f1"; + return "8acc312a46821cf90f94be94b22582fc1aa19a443a80952a292f1fb1c00946d1"; default: throw new Error(`Qodana CLI does not exist for ${platform}_${arch}`); } @@ -141,7 +141,7 @@ var init_qodana = __esm({ FAIL_THRESHOLD_OUTPUT = "The number of problems exceeds the failThreshold"; QODANA_SARIF_NAME = "qodana.sarif.json"; QODANA_SHORT_SARIF_NAME = "qodana-short.sarif.json"; - VERSION = "2022.3.2"; + VERSION = "2022.3.3"; EXECUTABLE = "qodana"; QodanaExitCode = /* @__PURE__ */ ((QodanaExitCode2) => { QodanaExitCode2[QodanaExitCode2["Success"] = 0] = "Success"; diff --git a/vsts/QodanaScan/task.json b/vsts/QodanaScan/task.json index 518c9e8e..c21c0f89 100644 --- a/vsts/QodanaScan/task.json +++ b/vsts/QodanaScan/task.json @@ -10,7 +10,7 @@ "version": { "Major": 2022, "Minor": 3, - "Patch": 2 + "Patch": 3 }, "demands": ["RemoteDockerServerOS -equals linux"], "instanceNameFormat": "Qodana Scan", diff --git a/vsts/vss-extension.dev.json b/vsts/vss-extension.dev.json index 8d59df7d..c3b49043 100644 --- a/vsts/vss-extension.dev.json +++ b/vsts/vss-extension.dev.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "qodana-dev", "name": "Qodana (Dev)", - "version": "2022.3.2", + "version": "2022.3.3", "publisher": "JetBrains", "targets": [ { diff --git a/vsts/vss-extension.json b/vsts/vss-extension.json index cb11d483..69ce0857 100644 --- a/vsts/vss-extension.json +++ b/vsts/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "qodana", "name": "Qodana", - "version": "2022.3.2", + "version": "2022.3.3", "public": true, "publisher": "JetBrains", "targets": [