Skip to content

Self-improving AI Employees for everyone

ci: move setup-python, cache and upload-artifact to Node 24 releases

trohitg46509c524688
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 868d552e..a549bfad 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -25,7 +25,7 @@ runs:
# Explicitly disabled: release jobs carry publish credentials, and
# several lanes never run a JS package manager, which also makes
# post-job cache saves fail with Path Validation Error.
- - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.12'
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
diff --git a/.github/workflows/desktop-ci.yml b/.github/workflows/desktop-ci.yml
index 359585ac..86219788 100644
--- a/.github/workflows/desktop-ci.yml
+++ b/.github/workflows/desktop-ci.yml
@@ -54,7 +54,7 @@ jobs:
run: bun install --frozen-lockfile
- name: Restore runtime downloads
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: desktop/vendor
key: desktop-runtimes-${{ runner.os }}-${{ hashFiles('desktop/runtimes.json') }}
@@ -86,7 +86,7 @@ jobs:
- name: Upload Playwright report on failure
if: failure()
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-report-${{ matrix.os }}
path: desktop/playwright-report
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index c2abf33b..721c2d5b 100644
--- a/.github/workflows/desktop-release.yml
+++ b/.github/workflows/desktop-release.yml
@@ -124,7 +124,7 @@ jobs:
run: bun install --frozen-lockfile
- name: Restore runtime downloads
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: desktop/vendor
key: desktop-runtimes-${{ runner.os }}-${{ hashFiles('desktop/runtimes.json') }}
@@ -177,7 +177,7 @@ jobs:
shell: bash
- name: Upload artifacts
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: desktop-${{ matrix.targets }}
path: |
diff --git a/docs-internal/ci_cd.md b/docs-internal/ci_cd.md
index 884b28da..f29cc426 100644
--- a/docs-internal/ci_cd.md
+++ b/docs-internal/ci_cd.md
@@ -78,7 +78,7 @@ Desktop code signing is deliberately absent for the first releases: `CSC_IDENTIT
|------|---------------|--------|
| bun | `oven-sh/setup-bun` v2.2.0 — reads the root `packageManager` pin (`[email protected]`) | Immutable commit SHA |
| Node.js | `node-version` input, default `22` — a CI-only convenience: bun runs vite / vitest / eslint on it via their node shebangs (open bun-runtime bugs in vitest and eslint); nothing shipped needs Node | `actions/setup-node` v6.5.0, immutable commit SHA; package cache disabled |
-| Python | hard-coded `3.12` (matches `.python-version`) | `actions/setup-python` v5.6.0, immutable commit SHA |
+| Python | hard-coded `3.12` (matches `.python-version`) | `actions/setup-python` v7.0.0, immutable commit SHA |
| uv | `astral-sh/setup-uv` v8.1.0, cache disabled | Immutable commit SHA |
`setup-node`'s `cache:` is intentionally omitted — its post-job cache save fails with a `Path Validation Error` in lanes that didn't run a JS install (CLI / backend test jobs), which would mark the whole job red even when every test passed. No dependency cache is configured for bun either (unchanged from the pnpm era).