Workflow tweak (#36)

Removed redundant fetch, as the checkout@v4 action already fetches the complete repo history.
This commit is contained in:
Peder Holdgaard Pedersen 2025-03-07 18:38:40 +01:00 • committed by GitHub
commit c9bc402fb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,14 +21,6 @@ jobs:
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Fetch all history for all tags and branches
run: |
if [ -f "$(git rev-parse --git-dir)/shallow" ]; then
git fetch --prune --unshallow
else
echo "Repository is already complete."
fi
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v2 uses: actions/setup-dotnet@v2
with: with: