Skip to content

Commit

Permalink
⬆️ Update qodana to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and tiulpin committed Jun 20, 2023
1 parent 7ab3c67 commit 040312f
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 39 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.1.4
uses: JetBrains/qodana-action@v2023.1.5
```

Using this workflow, Qodana will run on the main branch, release branches, and on the pull requests coming to your
Expand All @@ -75,7 +75,7 @@ all you need to do is to specify the `QODANA_TOKEN` environment variable in the

```yaml
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.1.4
uses: JetBrains/qodana-action@v2023.1.5
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
```
Expand Down Expand Up @@ -155,7 +155,7 @@ qodana scan --show-report

```yaml
- name: Qodana Scan
uses: JetBrains/qodana-action@v2023.1.4
uses: JetBrains/qodana-action@v2023.1.5
with:
args: --baseline,qodana.sarif.json
```
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": "2023.1.4",
"version": "2023.1.5",
"checksum": {
"windows_x86_64": "71b8e9670993359e10feab99b331b9c4395be7ccdec4fd4c89e45de08fcf8e4a",
"linux_arm64": "228688223c60f2b2051a9eec2399ff7ae0f56ec08dc7658daedfea1bee8ca431",
"darwin_arm64": "ae36a29bf0b722e8a14300b359bde1cc4a954d2c1a5a85933dea45d4648a8403",
"darwin_x86_64": "672e475594702aade011b50ad66668d41df2914b6aede24b8c8a6a8573dfcad6",
"windows_arm64": "88638c8151ddf8afdc0952dfa59becc8477845d5e48fcba9cf009f75234a9469",
"linux_x86_64": "9ed7455ed322507dedef1e3ff792a9729410ec693be3f3ce1c73747dedec06a1"
"windows_x86_64": "06fe9da657c3825d64a9d828ce5764561aaec3fca993f16681f204beda84d349",
"linux_arm64": "f5407a622b86ab63a69d043dcd9ff3f008d80b14a56743e4119a98409dad8cb9",
"darwin_arm64": "35a23dfa647000eca8bd927305c7e134851112d05e0aaa5b6a27e792e60dc40e",
"darwin_x86_64": "aef78bba6caa0c720253503cdd405ad70c1f811787cf2aef280df27e0c31a679",
"windows_arm64": "ac3c0a78d3999652d2661198f6865257764d61079b11ace1af799e490b9dca50",
"linux_x86_64": "ee8a29d8cd25a0b5451d4e87e43d141bc1b4a54483a0024fd4746a1715f94b67"
}
}
14 changes: 7 additions & 7 deletions scan/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2759,14 +2759,14 @@ var require_io = __commonJS({
var version, checksum;
var init_cli = __esm({
"../common/cli.json"() {
version = "2023.1.4";
version = "2023.1.5";
checksum = {
windows_x86_64: "71b8e9670993359e10feab99b331b9c4395be7ccdec4fd4c89e45de08fcf8e4a",
linux_arm64: "228688223c60f2b2051a9eec2399ff7ae0f56ec08dc7658daedfea1bee8ca431",
darwin_arm64: "ae36a29bf0b722e8a14300b359bde1cc4a954d2c1a5a85933dea45d4648a8403",
darwin_x86_64: "672e475594702aade011b50ad66668d41df2914b6aede24b8c8a6a8573dfcad6",
windows_arm64: "88638c8151ddf8afdc0952dfa59becc8477845d5e48fcba9cf009f75234a9469",
linux_x86_64: "9ed7455ed322507dedef1e3ff792a9729410ec693be3f3ce1c73747dedec06a1"
windows_x86_64: "06fe9da657c3825d64a9d828ce5764561aaec3fca993f16681f204beda84d349",
linux_arm64: "f5407a622b86ab63a69d043dcd9ff3f008d80b14a56743e4119a98409dad8cb9",
darwin_arm64: "35a23dfa647000eca8bd927305c7e134851112d05e0aaa5b6a27e792e60dc40e",
darwin_x86_64: "aef78bba6caa0c720253503cdd405ad70c1f811787cf2aef280df27e0c31a679",
windows_arm64: "ac3c0a78d3999652d2661198f6865257764d61079b11ace1af799e490b9dca50",
linux_x86_64: "ee8a29d8cd25a0b5451d4e87e43d141bc1b4a54483a0024fd4746a1715f94b67"
};
}
});
Expand Down
6 changes: 3 additions & 3 deletions src/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=d2688770cc267cd1ecc18086afc84e62890614383b9cefd6f3704929d9eb5290
CLI_DIRECTORY=/tmp/cache/qodana-cli/2023.1.4
QODANA_SHA_256=793840ebb85db963d6999203cdc8cdb780b743f4dfaa45abd06af3580112156c
CLI_DIRECTORY=/tmp/cache/qodana-cli/2023.1.5
mkdir -p $CLI_DIRECTORY
if [[ ! -x "$CLI_DIRECTORY/qodana" ]]; then
curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- \
v2023.1.4 $CLI_DIRECTORY \
v2023.1.5 $CLI_DIRECTORY \
1> /dev/null
fi
echo "$QODANA_SHA_256 $CLI_DIRECTORY/qodana" | sha256sum -c
Expand Down
2 changes: 1 addition & 1 deletion src/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@2023.1.4
qodana: jetbrains/qodana@2023.1.5
jobs:
code-quality:
machine:
Expand Down
14 changes: 7 additions & 7 deletions vsts/QodanaScan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
var version, checksum;
var init_cli = __esm({
"../common/cli.json"() {
version = "2023.1.4";
version = "2023.1.5";
checksum = {
windows_x86_64: "71b8e9670993359e10feab99b331b9c4395be7ccdec4fd4c89e45de08fcf8e4a",
linux_arm64: "228688223c60f2b2051a9eec2399ff7ae0f56ec08dc7658daedfea1bee8ca431",
darwin_arm64: "ae36a29bf0b722e8a14300b359bde1cc4a954d2c1a5a85933dea45d4648a8403",
darwin_x86_64: "672e475594702aade011b50ad66668d41df2914b6aede24b8c8a6a8573dfcad6",
windows_arm64: "88638c8151ddf8afdc0952dfa59becc8477845d5e48fcba9cf009f75234a9469",
linux_x86_64: "9ed7455ed322507dedef1e3ff792a9729410ec693be3f3ce1c73747dedec06a1"
windows_x86_64: "06fe9da657c3825d64a9d828ce5764561aaec3fca993f16681f204beda84d349",
linux_arm64: "f5407a622b86ab63a69d043dcd9ff3f008d80b14a56743e4119a98409dad8cb9",
darwin_arm64: "35a23dfa647000eca8bd927305c7e134851112d05e0aaa5b6a27e792e60dc40e",
darwin_x86_64: "aef78bba6caa0c720253503cdd405ad70c1f811787cf2aef280df27e0c31a679",
windows_arm64: "ac3c0a78d3999652d2661198f6865257764d61079b11ace1af799e490b9dca50",
linux_x86_64: "ee8a29d8cd25a0b5451d4e87e43d141bc1b4a54483a0024fd4746a1715f94b67"
};
}
});
Expand Down
20 changes: 11 additions & 9 deletions vsts/QodanaScan/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
"version": {
"Major": 2023,
"Minor": 1,
"Patch": 4
"Patch": 5
},
"demands": ["RemoteDockerServerOS -equals linux"],
"demands": [
"RemoteDockerServerOS -equals linux"
],
"instanceNameFormat": "Qodana Scan",
"inputs": [
{
Expand Down Expand Up @@ -40,12 +42,12 @@
"helpMarkDown": "Upload Qodana results as an artifact to the job"
},
{
"name": "uploadSarif",
"type": "string",
"label": "Upload SARIF",
"defaultValue": "true",
"required": false,
"helpMarkDown": "Upload qodana.sarif.json as an qodana.sarif artifact to the job"
"name": "uploadSarif",
"type": "string",
"label": "Upload SARIF",
"defaultValue": "true",
"required": false,
"helpMarkDown": "Upload qodana.sarif.json as an qodana.sarif artifact to the job"
},
{
"name": "artifactName",
Expand All @@ -69,4 +71,4 @@
"target": "index.js"
}
}
}
}
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": "2023.1.4",
"version": "2023.1.5",
"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": "2023.1.4",
"version": "2023.1.5",
"public": true,
"publisher": "JetBrains",
"targets": [
Expand Down

0 comments on commit 040312f

Please sign in to comment.