Fetch full history for detection of changed files (#149)

This commit is contained in:
Alejandro R Mosteo
2020-09-08 19:16:14 +02:00
committed by GitHub
parent 408bf8e9cf
commit 6e70aafd30
+5 -3
View File
@@ -48,9 +48,11 @@ jobs:
- name: Check out alire-index
uses: actions/checkout@v2
with:
fetch-depth: 10
# Needed to be able to diff and obtain changed files. Changes beyond
# that depth are not detected. Should be OK for crate submissions.
fetch-depth: 0
# Needed to be able to diff and obtain changed files. Furthermore, we
# need the full history or else grafted partial branches confuse the
# changed files detectors (in both scripts/gh-build-crate.sh and
# check-author action).
- name: Set up GNAT toolchain (FSF)
if: matrix.os == 'ubuntu-latest'