From 2b18ecd1341576c69a6ef77c01d4dd647b41f936 Mon Sep 17 00:00:00 2001 From: David Gutowsky Date: Tue, 2 Jun 2026 16:45:10 +0000 Subject: [PATCH] chore: pin GitHub Actions to Node 24 runtimes The v4/v5 majors of checkout, setup-python, cache, and the artifact actions still run on Node.js 20, which GitHub deprecates and force- migrates to Node 24 on 2026-06-16. Pin to the latest patch tag of each action whose action.yml declares `using: node24`: - actions/checkout v4 -> v6.0.3 - actions/setup-python v5 -> v6.2.0 - actions/cache v4 -> v5.0.5 - actions/upload-artifact v4 -> v7.0.1 - actions/download-artifact v4 -> v8.0.1 Verified each pinned tag's action.yml runs on node24. Artifact actions included because they emit the identical Node 20 deprecation warning. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/publish.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e5415a..aa026fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: python-version: ["3.11", "3.12"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6.0.3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6.2.0 with: python-version: ${{ matrix.python-version }} @@ -66,10 +66,10 @@ jobs: --health-retries 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6.0.3 - name: Set up Python 3.12 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6.2.0 with: python-version: "3.12" @@ -84,7 +84,7 @@ jobs: - name: Cache embedding model # all-MiniLM-L6-v2 (~90MB ONNX) is downloaded from the HF hub on first # encode. Cache it across runs so the integration job stays fast. - uses: actions/cache@v4 + uses: actions/cache@v5.0.5 with: path: ~/.cache/huggingface key: hf-all-MiniLM-L6-v2-onnx diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0a91b19..d898281 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,10 +8,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6.0.3 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6.2.0 with: python-version: "3.11" @@ -22,7 +22,7 @@ jobs: run: python -m build - name: Upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7.0.1 with: name: dist path: dist/ @@ -36,7 +36,7 @@ jobs: steps: - name: Download build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8.0.1 with: name: dist path: dist/