From 4ef8d8edf08c2f5fd82e3db09f57c4998d5fa982 Mon Sep 17 00:00:00 2001 From: Nicklas Lundin Date: Fri, 15 Sep 2023 08:53:05 +0200 Subject: [PATCH] ci: add unshallow fetching see this error https://github.com/pypa/setuptools_scm/issues/414 --- .github/workflows/pull-requests.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 2571de9..ff49a40 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -24,7 +24,11 @@ jobs: image: ${{ matrix.container }} steps: - - uses: actions/checkout@v4 + - name: Check out src from Git + uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Cache virtualenvironment uses: actions/cache@v3