Skip to content

Commit 3c61a4c

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
workflows: use non-shallow git checkout to please setuptools_scm
By default, github ci action checks out with no history. This leads to warnings in setuptools_scm and may lead to errors in a future version. This is a pretty small repo too and thus we shouldn't have much if any drawbacks to pulling all history. Signed-off-by: John Mulligan <[email protected]>
1 parent 8524bb3 commit 3c61a4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
1719
- name: Build test container
1820
run: docker build -t sambacc:ci tests/container/ -f tests/container/Containerfile
1921
- name: Run test container

0 commit comments

Comments
 (0)