From 760483b5be4babd6bcd337a3cc807f147f5480b3 Mon Sep 17 00:00:00 2001 From: bhimrazy Date: Fri, 5 Jun 2026 00:10:45 +0545 Subject: [PATCH] ci: add uv package install cooldown --- .github/workflows/ci-docs.yaml | 6 ++++++ .github/workflows/ci-examples.yaml | 1 + .github/workflows/ci-integrations.yaml | 1 + .github/workflows/ci-mypy.yaml | 1 + .github/workflows/ci-unittests.yaml | 1 + 5 files changed, 10 insertions(+) diff --git a/.github/workflows/ci-docs.yaml b/.github/workflows/ci-docs.yaml index fb4e2df..b06e27f 100644 --- a/.github/workflows/ci-docs.yaml +++ b/.github/workflows/ci-docs.yaml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.draft == false timeout-minutes: 10 + env: + UV_EXCLUDE_NEWER: "2 days" steps: - uses: actions/checkout@v5 @@ -44,6 +46,8 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.draft == false timeout-minutes: 10 + env: + UV_EXCLUDE_NEWER: "2 days" steps: - uses: actions/checkout@v5 @@ -69,6 +73,8 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.draft == false timeout-minutes: 10 + env: + UV_EXCLUDE_NEWER: "2 days" steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/ci-examples.yaml b/.github/workflows/ci-examples.yaml index 5b5596b..56848cf 100644 --- a/.github/workflows/ci-examples.yaml +++ b/.github/workflows/ci-examples.yaml @@ -81,6 +81,7 @@ jobs: timeout-minutes: 15 env: LIGHTNING_CLOUD_URL: https://staging.gridai.dev + UV_EXCLUDE_NEWER: "2 days" UV_TORCH_BACKEND: cpu steps: diff --git a/.github/workflows/ci-integrations.yaml b/.github/workflows/ci-integrations.yaml index 07642e2..bcc5276 100644 --- a/.github/workflows/ci-integrations.yaml +++ b/.github/workflows/ci-integrations.yaml @@ -33,6 +33,7 @@ jobs: timeout-minutes: 20 env: LIGHTNING_CLOUD_URL: https://staging.gridai.dev + UV_EXCLUDE_NEWER: "2 days" UV_TORCH_BACKEND: cpu steps: diff --git a/.github/workflows/ci-mypy.yaml b/.github/workflows/ci-mypy.yaml index c97fdd3..7371f17 100644 --- a/.github/workflows/ci-mypy.yaml +++ b/.github/workflows/ci-mypy.yaml @@ -17,6 +17,7 @@ jobs: if: github.event.pull_request.draft == false timeout-minutes: 10 env: + UV_EXCLUDE_NEWER: "2 days" UV_TORCH_BACKEND: cpu strategy: fail-fast: false diff --git a/.github/workflows/ci-unittests.yaml b/.github/workflows/ci-unittests.yaml index 58b45af..bf1943f 100644 --- a/.github/workflows/ci-unittests.yaml +++ b/.github/workflows/ci-unittests.yaml @@ -27,6 +27,7 @@ jobs: timeout-minutes: 20 env: LIGHTNING_CLOUD_URL: https://staging.gridai.dev + UV_EXCLUDE_NEWER: "2 days" UV_TORCH_BACKEND: cpu steps: