From a2fb9b7fa2f17379e87dc6f27f6c04f01511ae5d Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 18 Sep 2026 19:54:02 +0200 Subject: [PATCH] CI: check out the repository only once per job Three workflows ran `actions/checkout` twice, with only `setup-python` between the two. The second one re-fetched and re-materialized the whole tree on every run. It dates back to two separate workflows being merged into one file, each contributing its own checkout, and nothing came to depend on it: the step in between writes to the tool cache and pip's cache directory, not to the workspace, so the tree is identical either way. The plugin and type-check workflows check out once and have all along. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/sphinx-books-tests.js.yml | 1 - .github/workflows/sphinx-content-tests.js.yml | 1 - .github/workflows/typescript-tests.js.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/.github/workflows/sphinx-books-tests.js.yml b/.github/workflows/sphinx-books-tests.js.yml index 0945c909e..88a005983 100644 --- a/.github/workflows/sphinx-books-tests.js.yml +++ b/.github/workflows/sphinx-books-tests.js.yml @@ -30,7 +30,6 @@ jobs: # which is not the file the workflow installs, so the key would not # change when a pinned version does. cache-dependency-path: 'frontend/requirements_frozen.txt' - - uses: actions/checkout@v7 - name: Enable Corepack run: corepack enable - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/sphinx-content-tests.js.yml b/.github/workflows/sphinx-content-tests.js.yml index d1df0c202..cce7da736 100644 --- a/.github/workflows/sphinx-content-tests.js.yml +++ b/.github/workflows/sphinx-content-tests.js.yml @@ -30,7 +30,6 @@ jobs: # which is not the file the workflow installs, so the key would not # change when a pinned version does. cache-dependency-path: 'frontend/requirements_frozen.txt' - - uses: actions/checkout@v7 - name: Enable Corepack run: corepack enable - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/typescript-tests.js.yml b/.github/workflows/typescript-tests.js.yml index 79b0c5390..987e51912 100644 --- a/.github/workflows/typescript-tests.js.yml +++ b/.github/workflows/typescript-tests.js.yml @@ -37,7 +37,6 @@ jobs: # which is not the file the workflow installs, so the key would not # change when a pinned version does. cache-dependency-path: 'frontend/requirements_frozen.txt' - - uses: actions/checkout@v7 - name: Enable Corepack run: corepack enable - name: Use Node.js ${{ matrix.node-version }}