Skip to content

Commit

Permalink
fix: sonar errors (#66)
Browse files Browse the repository at this point in the history
* fix: set fetch-depth to 0

* fix: set fetch-depth to 0
  • Loading branch information
joachimdekker authored Jun 14, 2024
1 parent 435ecef commit bfd6b27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
distribution: 'zulu'
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 0
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -199,4 +199,4 @@ jobs:
name: nuget-package
path: bin
- name: Upload NuGet Package to NuGet.org
run: dotnet nuget push bin/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push bin/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
distribution: 'zulu'
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 0
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 comments on commit bfd6b27

Please sign in to comment.