ci: use fetch-depth: 0 instead of fetching manually (#7297)

This commit is contained in:
Ran Benita 2020-06-02 10:29:36 +03:00 committed by GitHub
parent 2f406bb9cb
commit 9214e63af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -128,8 +128,8 @@ jobs:
steps:
- uses: actions/checkout@v2
# For setuptools-scm.
- run: git fetch --prune --unshallow
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
if: matrix.python != '3.9-dev'
@ -177,8 +177,8 @@ jobs:
steps:
- uses: actions/checkout@v2
# For setuptools-scm.
- run: git fetch --prune --unshallow
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:

View File

@ -15,8 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v2
# For setuptools-scm.
- run: git fetch --prune --unshallow
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2