Sources should be fetched with full history before running Qodana

This commit is contained in:
hybloid 2024-09-18 17:32:38 +02:00 committed by GitHub
parent 93c0a0b2f3
commit b3221416a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,9 +39,6 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
# Validate wrapper
- name: Gradle Wrapper Validation
@ -161,6 +158,9 @@ jobs:
# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
# Set up Java environment for the next steps
- name: Setup Java