From 4d02d886f38ff911f179026c39fdd930d063eee4 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Mon, 20 Oct 2025 18:13:13 -0400 Subject: [PATCH] Fetch full git history for setuptools_scm version detection --- .github/workflows/build.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c9694e5ce..fe17cdca1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,20 +21,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + with: + fetch-depth: 0 # Fetch all history for setuptools_scm - name: Install uv uses: astral-sh/setup-uv@v3 with: version: "latest" - + - name: Set up Python run: uv python install 3.10 - + - name: Install development dependencies run: uv sync --group dev - + - name: Build project run: uv build - + - name: Install project in editable mode - run: uv pip install --editable . \ No newline at end of file + run: uv pip install --editable .