Skip to content

Commit

Permalink
✨ Update to the latest CLI (0.8.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Feb 20, 2022
1 parent 2cc5f0d commit 612a87f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: 12.x
- name: Install dependencies
run: cd action && npm ci
run: cd scan && npm ci
- name: Rebuild the dist/ directory
run: cd scan && npm run build && npm run package
- name: Compare the expected and actual dist/ directories
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ./
with:
linter: jetbrains/qodana-js
args: --linter,jetbrains/qodana-js

# Not possible at the moment for GitHub-hosted Windows agents: https://github.com/JetBrains/qodana-action/pull/31#issue-812728409
# test-windows:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vsts.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
node-version: 12.x
- name: Install dependencies
run: cd action && npm ci
run: cd vsts && npm ci
- name: Rebuild the QodanaScan/ directory
run: cd vsts && npm run build && npm run package
- name: Compare the expected and actual QodanaScan/ directories
Expand Down
3 changes: 1 addition & 2 deletions action.yaml
Expand Up @@ -41,11 +41,10 @@ inputs:
description: 'GitHub token to be used for uploading annotations'
required: false
default: ${{ github.token }}
# deprecated options
linter:
description: '[DEPRECATED] Qodana linter – [official Qodana Docker image](#supported-qodana-docker-images).'
required: false
deprecationMessage: 'Use `args` (e.g. `args: -linter,<linter>`) instead'
deprecationMessage: 'Use `args` (e.g. `args: --linter,<linter>`) instead'
project-dir:
description: '[DEPRECATED] Root directory of the project to be analyzed'
required: false
Expand Down
2 changes: 1 addition & 1 deletion common/qodana.ts
@@ -1,6 +1,6 @@
// noinspection JSUnusedGlobalSymbols

export const VERSION = '0.7.5'
export const VERSION = '0.8.0'
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
Expand Up @@ -1834,7 +1834,7 @@ function getQodanaScanArgs(args, resultsDir, cacheDir, env = `cli`) {
var VERSION, EXECUTABLE, FAIL_THRESHOLD_OUTPUT, QODANA_SARIF_NAME, QodanaExitCode;
var init_qodana = __esm({
"../common/qodana.ts"() {
VERSION = "0.7.5";
VERSION = "0.8.0";
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/QodanaScan/index.js
Expand Up @@ -101,7 +101,7 @@ function getQodanaScanArgs(args, resultsDir, cacheDir, env = `cli`) {
var VERSION, EXECUTABLE, FAIL_THRESHOLD_OUTPUT, QODANA_SARIF_NAME, QodanaExitCode;
var init_qodana = __esm({
"../common/qodana.ts"() {
VERSION = "0.7.5";
VERSION = "0.8.0";
EXECUTABLE = "qodana";
FAIL_THRESHOLD_OUTPUT = "The number of problems exceeds the failThreshold";
QODANA_SARIF_NAME = "qodana.sarif.json";
Expand Down

0 comments on commit 612a87f

Please sign in to comment.