summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBram <perl-rt@wizbit.be>2022-08-20 16:56:50 +0200
committerKarl Williamson <khw@cpan.org>2022-08-22 10:35:38 -0600
commit7acf0ac17ca540bf99553846c501101ee8ea9d28 (patch)
treeb061036b0e210981ebd2fb3ee484cb45de8dc4be /.github
parentf7968da43ed14ca0a69dfd121cf9423d35ad5448 (diff)
downloadperl-7acf0ac17ca540bf99553846c501101ee8ea9d28.tar.gz
CI: Remove fetching of tags from sanity check
For the 'sanity check' CI the option `fetch-depth: 0` is used. This causes it to fetch all branches *and* all tags with all history. By doing `git fetch --depth=1 origin +refs/tags/*:refs/tags/*` it is fetching all the tags again and in this case *discarding* all the history of the tags and turning this into a shallow clone instead of a full clone. -> Remove the fetching of tags from the sanity check CI since they were already fetched with their full history. (This is needed because in the next commit a check will be done to see if the test is running in a shallow clone)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index f0a40fb159..4ce9b77951 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -93,10 +93,9 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- - name: git cfg + fetch tags
+ - name: git cfg
run: |
git config diff.renameLimit 999999
- git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Configure
run: |
./Configure -des -Dusedevel ${CONFIGURE_ARGS} -Dprefix="$HOME/perl-blead"