From 993ad17661be096f1547e665ab16731e891ac5c6 Mon Sep 17 00:00:00 2001 From: Alex Shovlin Date: Sat, 22 Aug 2026 15:24:29 -0400 Subject: [PATCH] Cache pip dependencies for GitHub CI --- .github/workflows/run-dep-tests.yml | 4 ++++ .github/workflows/run-tests.yml | 4 ++++ .github/workflows/source-dist-tests.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/run-dep-tests.yml b/.github/workflows/run-dep-tests.yml index 8eb4cd0b5580..a87fa7a7ab39 100644 --- a/.github/workflows/run-dep-tests.yml +++ b/.github/workflows/run-dep-tests.yml @@ -24,6 +24,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + requirements-dev-lock.txt + requirements/download-deps/bootstrap-lock.txt - name: Install dependencies run: python scripts/ci/install - name: Run tests diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 27c05a9d9110..db1aab30e712 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -25,6 +25,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + requirements-dev-lock.txt + requirements/download-deps/bootstrap-lock.txt - name: Install dependencies run: | python scripts/ci/install diff --git a/.github/workflows/source-dist-tests.yml b/.github/workflows/source-dist-tests.yml index 3b6d39117caa..d4e92b115a33 100644 --- a/.github/workflows/source-dist-tests.yml +++ b/.github/workflows/source-dist-tests.yml @@ -24,6 +24,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: | + requirements-dev-lock.txt + requirements/download-deps/bootstrap-lock.txt - name: Install dependencies run: | python scripts/ci/install