Skip to content

Commit

Permalink
⚡ Update qodana to 2023.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Apr 24, 2023
1 parent ddd70ab commit bdbf6e5
Show file tree
Hide file tree
Showing 16 changed files with 1,916 additions and 11,296 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 12.x
- name: Set Node.js 16.x
uses: actions/setup-node@v3.6.0
with:
node-version: 12.x
node-version: 16.x
- name: Install dependencies
run: cd scan && npm ci && cd ../common && npm ci
- name: Rebuild the dist/ directory
Expand Down Expand Up @@ -55,9 +55,14 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: docker/login-action@v2
with:
registry: registry.jetbrains.team
username: e433d83e-ec9b-4023-98f0-7f181b32c0da
password: ${{ secrets.SPACE_PASSWORD }}
- uses: ./
with:
args: --print-problems,--log-level,debug
args: --print-problems,--log-level,debug,-l,jetbrains/qodana-js:latest
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

Expand Down
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@v2022.3.4
uses: JetBrains/qodana-action@v2023.1.0
```

Using this workflow, Qodana will run on the main branch, release branches, and on the pull requests coming to your
Expand All @@ -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.4
uses: JetBrains/qodana-action@v2023.1.0
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
```
Expand Down Expand Up @@ -151,7 +151,7 @@ qodana scan --show-report

```yaml
- name: Qodana Scan
uses: JetBrains/qodana-action@v2022.3.4
uses: JetBrains/qodana-action@v2023.1.0
with:
args: --baseline,qodana.sarif.json
```
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
restoreKeys: |
"$(Build.Repository.Name)" | "$(Build.SourceBranchName)"
"$(Build.Repository.Name)"
- task: QodanaScan@2022
- task: QodanaScan@2023
inputs:
args: --log-level,debug
env:
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": "2022.3.4",
"version": "2023.1.0",
"checksum": {
"windows_x86_64": "3aaed3552cde7d48fd7b81578e24a7b033be8748e9fb86afca5d7b420a52e9ca",
"linux_arm64": "4c03be23cfc0eaa052c1c10c626e1f9ffb9be8936c9ba73b66b91cfc8bcfe43c",
"darwin_arm64": "7313271d198b035143e9f8001d87741dc72123bf40c1dd6f8f35181268529172",
"darwin_x86_64": "808db0a6deef9c42033798b436d25c21a6fdb192eb4b73729d99e42c6fd8371c",
"windows_arm64": "ad010f503663dd996feb3048ae85466169b34998a162233f918cf41113f7ccff",
"linux_x86_64": "d22703ef05fbd6e9b286b99750cf6d90a608ad28d0b4dc3078e3c8ded4bf15d1"
"windows_x86_64": "f096db938a80fe3dd065a63716dca79f2156a6743c47a22e66ce83e0b4f81e5f",
"linux_arm64": "a38e90e1e26271588714109253efdc60a5b7f0a410e509753483192ee0e1853f",
"darwin_arm64": "2dfa918cc6041284e20c47e11c2d40eb39c87c7c220d9ccaba3a0e7896ad4321",
"darwin_x86_64": "6aa6a77a4e5b12dbda79ad36922fbd05d7511d92f9dd83a1f4ad3321e4bfa223",
"windows_arm64": "13411462aa6590aa25f4ceec591af9e468f21f40b77dab15d32bf6df8238cb12",
"linux_x86_64": "93796612b616b1bc521c08be5785312ef7ad885606d091d0298a8a6608a07962"
}
}
2 changes: 1 addition & 1 deletion common/qodana.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const SUPPORTED_ARCHS = ['x86_64', 'arm64']
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 QODANA_REPORT_URL_NAME = 'qodana.cloud'
export const EXECUTABLE = 'qodana'
export const VERSION = version
export function getQodanaSha256(arch: string, platform: string): string {
Expand Down
1 change: 0 additions & 1 deletion qodana.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version: "1.0"
linter: jetbrains/qodana-js:2022.3-eap
bootstrap: cd common && npm install && cd ../scan && npm install && cd ../vsts && npm install
profile:
name: qodana.recommended
Expand Down

0 comments on commit bdbf6e5

Please sign in to comment.