Skip to content

Commit

Permalink
Use deep clone for GitHub actions
Browse files Browse the repository at this point in the history
The full history is needed to do versioning properly with pbr.

Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Jul 13, 2022
1 parent 1503669 commit 6114f8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
# We need history to build the package
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
Expand All @@ -42,6 +45,7 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
# We need history for release notes
with:
fetch-depth: 0
- name: Set up Python 3.10
Expand All @@ -66,6 +70,7 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v2
# We need history to build the package
with:
fetch-depth: 0
- name: Set up Python 3.10
Expand Down

0 comments on commit 6114f8d

Please sign in to comment.