From 26bf3d30b46202e78a22a987536f99c6badca990 Mon Sep 17 00:00:00 2001 From: Blair Hamilton Date: Thu, 2 Jul 2026 18:48:44 -0400 Subject: [PATCH] ci: bump cache/setup-python/setup-node to Node 24-native majors actions/cache@v4, setup-python@v5, and setup-node@v4 target Node 20, which GitHub runners now force onto Node 24 with a deprecation warning on every advisory run (see the 2025-09-19 runner changelog). The newer majors are Node 24-native. Co-Authored-By: Claude Fable 5 --- .github/workflows/pre-commit-advisory.yml | 8 ++++---- actions/setup-node-pnpm/action.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-commit-advisory.yml b/.github/workflows/pre-commit-advisory.yml index c70dd89..5ab35ca 100644 --- a/.github/workflows/pre-commit-advisory.yml +++ b/.github/workflows/pre-commit-advisory.yml @@ -71,12 +71,12 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: ${{ inputs.python-version }} - name: Cache pre-commit hook envs - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-py${{ inputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }} @@ -100,7 +100,7 @@ jobs: # warm runs. - name: Cache dotnet tools if: inputs.setup-dotnet - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.dotnet/tools key: dotnet-tools-${{ runner.os }}-${{ hashFiles('**/dotnet-tools.json') }} @@ -121,7 +121,7 @@ jobs: - name: Set up Node.js if: inputs.setup-node-pnpm - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} cache: pnpm diff --git a/actions/setup-node-pnpm/action.yml b/actions/setup-node-pnpm/action.yml index d80e840..24777a2 100644 --- a/actions/setup-node-pnpm/action.yml +++ b/actions/setup-node-pnpm/action.yml @@ -33,7 +33,7 @@ runs: run: corepack enable - name: Set up Node.js ${{ inputs.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} cache: pnpm