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