Sources should be fetched with full history before running Qodana

This commit is contained in:
Dima Golovinov 2024-09-18 17:39:05 +02:00 committed by Jakub Chrzanowski
parent 66a44703e0
commit e6049b2283

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
@ -157,6 +154,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