diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 792ff55..4457abc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,10 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.x" - fetch-depth: 0 + - name: Get history and tags for SCM versioning to work + run: | + git fetch --prune --unshallow + git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Install pypa/build run: >- python3 -m