From 6161ac797ca7554246e2a075f9eba90167e7b802 Mon Sep 17 00:00:00 2001 From: YooSunYoung <17974113+YooSunYoung@users.noreply.github.com> Date: Thu, 28 May 2026 14:44:06 +0200 Subject: [PATCH] More efficient nightly environment setup. --- .github/workflows/nightly.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b252193e2..c5c564ab0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v6 with: - fetch-depth: 0 + fetch-tags: true - uses: prefix-dev/setup-pixi@v0.9.4 with: pixi-version: v0.68.0 @@ -53,11 +53,12 @@ jobs: steps: - uses: actions/checkout@v6 with: - fetch-depth: 0 + fetch-tags: true - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: version: "0.7.21" python-version: "3.11" + cache-suffix: ${{ matrix.package }} - name: Test with lowest direct dependencies working-directory: packages/${{ matrix.package }} run: uv run --extra=test --resolution=lowest-direct pytest @@ -79,11 +80,12 @@ jobs: steps: - uses: actions/checkout@v6 with: - fetch-depth: 0 + fetch-tags: true - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: version: "0.7.21" python-version: "3.11" + cache-suffix: ${{ matrix.package }} - name: Test with latest dependencies working-directory: packages/${{ matrix.package }} run: uv run --extra=test --resolution=highest pytest