ci: use fetch-depth: 0 instead of fetching manually (#7297)
This commit is contained in:
parent
2f406bb9cb
commit
9214e63af3
|
@ -128,8 +128,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# For setuptools-scm.
|
with:
|
||||||
- run: git fetch --prune --unshallow
|
fetch-depth: 0
|
||||||
- name: Set up Python ${{ matrix.python }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
if: matrix.python != '3.9-dev'
|
if: matrix.python != '3.9-dev'
|
||||||
|
@ -177,8 +177,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# For setuptools-scm.
|
with:
|
||||||
- run: git fetch --prune --unshallow
|
fetch-depth: 0
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -15,8 +15,8 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# For setuptools-scm.
|
with:
|
||||||
- run: git fetch --prune --unshallow
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
Loading…
Reference in New Issue