From 68d134bd245aa59a973e59d0e7b45c8514bc0eb2 Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Thu, 2 Nov 2023 17:14:02 +0100 Subject: [PATCH 1/6] Added Qodana --- .github/workflows/qodana_code_quality.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index a00bfeaa541..af80186e6fb 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -5,6 +5,7 @@ on: push: branches: - main + - mst/jetbrains-build jobs: qodana: @@ -14,6 +15,6 @@ jobs: with: fetch-depth: 0 - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2023.3 + uses: JetBrains/qodana-action@v2023.2 env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} From 84f9946c865bf96712bbe8424c1206ceb57727e3 Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Thu, 2 Nov 2023 17:20:43 +0100 Subject: [PATCH 2/6] edits --- .github/workflows/qodana_code_quality.yml | 4 ++++ qodana.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index af80186e6fb..905bc647aae 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -14,6 +14,10 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + + - name: Run Sonar Analysis + run: ./build.cmd restore + - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.2 env: diff --git a/qodana.yaml b/qodana.yaml index 99a40de6201..527ccd6b01c 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -24,6 +24,8 @@ profile: #Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) #plugins: # - id: #(plugin id can be found at https://plugins.jetbrains.com) +dot-net: + solution: src/All.sln #Specify Qodana linter for analysis (Applied in CI/CD pipeline) linter: jetbrains/qodana-dotnet:latest From 85c8ccdc9236b4599a22f516b7759488a844a626 Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Thu, 2 Nov 2023 17:28:07 +0100 Subject: [PATCH 3/6] edits --- .github/workflows/qodana_code_quality.yml | 3 --- qodana.yaml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index 905bc647aae..feacd936524 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -15,9 +15,6 @@ jobs: with: fetch-depth: 0 - - name: Run Sonar Analysis - run: ./build.cmd restore - - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.2 env: diff --git a/qodana.yaml b/qodana.yaml index 527ccd6b01c..1aa5cdd1f92 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -19,7 +19,7 @@ profile: # - #Execute shell command before Qodana execution (Applied in CI/CD pipeline) -#bootstrap: sh ./prepare-qodana.sh +bootstrap: sh ./build.sh restore #Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) #plugins: From b1e9bf201be03e9d4ac57d8ead98f9ab5e9ab7b0 Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Thu, 2 Nov 2023 17:32:35 +0100 Subject: [PATCH 4/6] edits --- qodana.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qodana.yaml b/qodana.yaml index 1aa5cdd1f92..0f73976a4ff 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -19,12 +19,12 @@ profile: # - #Execute shell command before Qodana execution (Applied in CI/CD pipeline) -bootstrap: sh ./build.sh restore +bootstrap: sh ./init.sh #Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) #plugins: # - id: #(plugin id can be found at https://plugins.jetbrains.com) -dot-net: +dotnet: solution: src/All.sln #Specify Qodana linter for analysis (Applied in CI/CD pipeline) From f7566549aca130c4f8d50370753712609cd49daa Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Thu, 2 Nov 2023 17:42:56 +0100 Subject: [PATCH 5/6] edits --- qodana.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qodana.yaml b/qodana.yaml index 0f73976a4ff..9ec158d1d8c 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -25,7 +25,7 @@ bootstrap: sh ./init.sh #plugins: # - id: #(plugin id can be found at https://plugins.jetbrains.com) dotnet: - solution: src/All.sln + solution: ./src/All.sln #Specify Qodana linter for analysis (Applied in CI/CD pipeline) linter: jetbrains/qodana-dotnet:latest From a4012de9c2230b5e4b4d0ac043f632e7a15ad060 Mon Sep 17 00:00:00 2001 From: Michael Staib Date: Thu, 2 Nov 2023 17:50:08 +0100 Subject: [PATCH 6/6] edits --- qodana.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qodana.yaml b/qodana.yaml index 9ec158d1d8c..5e06392aef0 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -25,7 +25,7 @@ bootstrap: sh ./init.sh #plugins: # - id: #(plugin id can be found at https://plugins.jetbrains.com) dotnet: - solution: ./src/All.sln + solution: All.sln #Specify Qodana linter for analysis (Applied in CI/CD pipeline) linter: jetbrains/qodana-dotnet:latest