Skip to content

Commit

Permalink
Increase checkout depth on CI
Browse files Browse the repository at this point in the history
This will help tools that analyze tags, such as coverage, poetry or PDM.

I'm positive and I assume no release will take more than 500 commits.
  • Loading branch information
yajo committed Mar 3, 2021
1 parent c03c31b commit fe0c0c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
- run: git config --global user.email copier@copier
- run: git config --global core.autocrlf input
- uses: actions/checkout@v2
with:
fetch-depth: 500
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -91,6 +93,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 500
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit fe0c0c4

Please sign in to comment.