Skip to content

Commit

Permalink
✨ Update qodana to 2022.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Oct 31, 2022
1 parent 837ecce commit 25dc13b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ duplications, and imperfections.
- [Issue Tracker](#issue-tracker)

<!-- tocstop -->
[//]: # (title: Qodana Scan GitHub action)
[//]: # (title: GitHub Actions)

## Usage

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/[email protected].2
uses: JetBrains/[email protected].3
```
Using this workflow, Qodana will run on the main branch, release branches, and on the pull requests coming to your
Expand Down Expand Up @@ -131,7 +131,7 @@ qodana scan --show-report

```yaml
- name: Qodana Scan
uses: JetBrains/[email protected].2
uses: JetBrains/[email protected].3
with:
args: --baseline,qodana.sarif.json
```
Expand Down
2 changes: 1 addition & 1 deletion common/qodana.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// noinspection JSUnusedGlobalSymbols

export const VERSION = '2022.2.2'
export const VERSION = '2022.2.3'
export const EXECUTABLE = 'qodana'
export const FAIL_THRESHOLD_OUTPUT =
'The number of problems exceeds the failThreshold'
Expand Down
2 changes: 1 addition & 1 deletion scan/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2828,7 +2828,7 @@ function getQodanaScanArgs(args, resultsDir, cacheDir) {
var VERSION, EXECUTABLE, FAIL_THRESHOLD_OUTPUT, QODANA_SARIF_NAME, QODANA_SHORT_SARIF_NAME, QodanaExitCode;
var init_qodana = __esm({
"../common/qodana.ts"() {
VERSION = "2022.2.2";
VERSION = "2022.2.3";
EXECUTABLE = "qodana";
FAIL_THRESHOLD_OUTPUT = "The number of problems exceeds the failThreshold";
QODANA_SARIF_NAME = "qodana.sarif.json";
Expand Down
10 changes: 5 additions & 5 deletions src/commands/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ parameters:
steps:
- restore_cache:
keys:
- qodana-{{ .Branch }}-2022.2.2-<< parameters.additional-cache-hash >>
- qodana-{{ .Branch }}-2022.2.2-
- qodana-{{ .Branch }}-2022.2.3-<< parameters.additional-cache-hash >>
- qodana-{{ .Branch }}-2022.2.3-
- qodana-{{ .Branch }}-
- qodana-
- run:
name: Qodana Scan
command: |
set -e
CLI_DIRECTORY=/tmp/cache/qodana-cli/2022.2.2
CLI_DIRECTORY=/tmp/cache/qodana-cli/2022.2.3
mkdir -p $CLI_DIRECTORY
if [[ ! -x "$CLI_DIRECTORY/qodana" ]]; then
curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- \
v2022.2.2 $CLI_DIRECTORY \
v2022.2.3 $CLI_DIRECTORY \
1> /dev/null
fi
NONINTERACTIVE=1 $CLI_DIRECTORY/qodana scan \
Expand All @@ -61,7 +61,7 @@ steps:
path: << parameters.results-dir >>
destination: << parameters.artifact-name >>
- save_cache:
key: qodana-{{ .Branch }}-2022.2.2-<< parameters.additional-cache-hash >>
key: qodana-{{ .Branch }}-2022.2.3-<< parameters.additional-cache-hash >>
paths:
- << parameters.cache-dir >>
- /tmp/cache/qodana-cli/
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/[email protected].2
qodana: jetbrains/[email protected].3
jobs:
code-quality:
machine:
Expand Down
2 changes: 1 addition & 1 deletion vsts/QodanaScan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function getQodanaScanArgs(args, resultsDir, cacheDir) {
var VERSION, EXECUTABLE, FAIL_THRESHOLD_OUTPUT, QODANA_SARIF_NAME, QODANA_SHORT_SARIF_NAME, QodanaExitCode;
var init_qodana = __esm({
"../common/qodana.ts"() {
VERSION = "2022.2.2";
VERSION = "2022.2.3";
EXECUTABLE = "qodana";
FAIL_THRESHOLD_OUTPUT = "The number of problems exceeds the failThreshold";
QODANA_SARIF_NAME = "qodana.sarif.json";
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": "2022.2.2",
"version": "2022.2.3",
"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": "2022.2.2",
"version": "2022.2.3",
"public": true,
"publisher": "JetBrains",
"targets": [
Expand Down

0 comments on commit 25dc13b

Please sign in to comment.