diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index f74b7112..1c90a62d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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 @@ -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: diff --git a/.github/workflows/vsts.yml b/.github/workflows/vsts.yml index dfe3e517..0d6cca80 100644 --- a/.github/workflows/vsts.yml +++ b/.github/workflows/vsts.yml @@ -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 diff --git a/action.yaml b/action.yaml index 74133bfa..096fe2d0 100644 --- a/action.yaml +++ b/action.yaml @@ -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,`) instead' + deprecationMessage: 'Use `args` (e.g. `args: --linter,`) instead' project-dir: description: '[DEPRECATED] Root directory of the project to be analyzed' required: false diff --git a/common/qodana.ts b/common/qodana.ts index 8a16e883..0da8c416 100644 --- a/common/qodana.ts +++ b/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' diff --git a/scan/dist/index.js b/scan/dist/index.js index 2c1f6498..ab54fabb 100644 --- a/scan/dist/index.js +++ b/scan/dist/index.js @@ -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"; diff --git a/vsts/QodanaScan/index.js b/vsts/QodanaScan/index.js index 4a6ed525..506cdf55 100644 --- a/vsts/QodanaScan/index.js +++ b/vsts/QodanaScan/index.js @@ -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";