From cce3bd1e9c163c0dca6bed2b70ff079eda3c9297 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Wed, 7 Oct 2026 19:17:33 +0000 Subject: [PATCH] ci: move all actions to Node 24 runtimes The Actions runners are deprecating Node.js 20: every run of this workflow annotates checkout@v4 and setup-python@v5 as forced onto Node 24, and upload-artifact@v4 plus action-gh-release@v2 are next in line. Rather than wait for the forced migration, pin each action to its current latest Node 24 release: - actions/checkout v4 -> v7.0.1 - actions/setup-python v5 -> v7.0.0 - actions/upload-artifact v4 -> v7.0.2 - softprops/action-gh-release v2 -> v3.0.3 Checked before bumping: upload-artifact v5-v7 are additive over v4 (opt-in direct upload, better 429 retries); our usage pins 'name' and 'path', both required-valid since v4. action-gh-release v3 moves only the runtime to Node 24 - inputs unchanged. All jobs run on hosted runners, so the 'self-hosted fleet needs runner >= 2.327.1' note does not apply. Separate from the Oct 19 ubuntu-latest migration: that label moves to Ubuntu 26 runners. This repo pins nothing Ubuntu-specific, so that migration is expected to be transparent; this commit only kills the Node deprecation annotations. --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27b4d2f..37437d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: python-version: ["3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7.0.1 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7.0.0 with: python-version: ${{ matrix.python-version }} @@ -120,7 +120,7 @@ jobs: needs: test steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7.0.1 - name: Build backend Docker image run: docker build -f Dockerfile.backend -t uartscope-backend . @@ -144,10 +144,10 @@ jobs: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7.0.1 - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@v7.0.0 with: python-version: "3.11" @@ -166,14 +166,14 @@ jobs: PYTHONIOENCODING: utf-8 - name: Upload .exe artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7.0.2 with: name: uartscope-windows-x64 path: dist/uartscope.exe - name: Attach to release if: github.event_name == 'release' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3.0.3 with: files: dist/uartscope.exe env: