chore: Update shell from powershell to pwsh in Publish.yml; specify Qodana linter version in qodana.yaml

This commit is contained in:
Miha Kralj
2025-12-07 18:37:14 -08:00
parent 6323f43db4
commit 00643e74c2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell shell: pwsh
run: | run: |
dotnet sonarscanner begin /k:"mihakralj_QuanTAlib" /o:"mihakralj-quantalib" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" ` 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" ` /d:sonar.solution.file="QuanTAlib.sln" `
@@ -147,7 +147,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell shell: pwsh
run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
- name: Upload Coverage to Codacy - name: Upload Coverage to Codacy
+1 -1
View File
@@ -90,7 +90,7 @@ exclude:
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com) # - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
#Specify Qodana linter for analysis (Applied in CI/CD pipeline) #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) # Use native mode instead of Docker (avoids Unix socket issues on Windows)
withinDocker: false withinDocker: false