diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8833ba689..01653d154 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,13 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" - name: Install dependencies run: pip install '.[dev,docs]' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a932733a9..3dcd884cb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" - name: Install uv uses: astral-sh/setup-uv@v5 @@ -28,7 +35,7 @@ jobs: set -eE set -o pipefail - uv sync --extra docs + uv sync --frozen --extra docs - name: Build documentation run: |