From 00643e74c29a59d683f690dd973733b5d955b4ec Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Sun, 7 Dec 2025 18:37:14 -0800 Subject: [PATCH] chore: Update shell from powershell to pwsh in Publish.yml; specify Qodana linter version in qodana.yaml --- .github/workflows/Publish.yml | 4 ++-- qodana.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index e513f950..f55d29c3 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -84,7 +84,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - shell: powershell + shell: pwsh run: | dotnet sonarscanner begin /k:"mihakralj_QuanTAlib" /o:"mihakralj-quantalib" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" ` /d:sonar.solution.file="QuanTAlib.sln" ` @@ -147,7 +147,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - shell: powershell + shell: pwsh run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - name: Upload Coverage to Codacy diff --git a/qodana.yaml b/qodana.yaml index bd636b87..7366225f 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -90,7 +90,7 @@ exclude: # - id: #(plugin id can be found at https://plugins.jetbrains.com) #Specify Qodana linter for analysis (Applied in CI/CD pipeline) -linter: qodana-dotnet +linter: jetbrains/qodana-dotnet:2024.3 # Use native mode instead of Docker (avoids Unix socket issues on Windows) withinDocker: false