From 99c857812098fe7020e28521729dfb3da98fac80 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 17 Oct 2026 22:55:45 -0500 Subject: [PATCH] ci: move workflow actions off the deprecated Node 20 runtime actions/checkout and actions/setup-node v4 -> v5, softprops/action-gh-release v2 -> v3; all three run on Node 24. setup-deno@v2, setup-bun@v2 and crates-io-auth-action@v1 already resolve to Node 24 releases. Jobs keep node-version 22. Refs Green-Tea/core#103 Signed-off-by: Diego Resendez --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/promote.yml | 2 +- .github/workflows/release.yml | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f995648..cf22e3b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable @@ -38,7 +38,7 @@ jobs: matrix: runtime: [node, deno, bun, edge] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable @@ -64,7 +64,7 @@ jobs: if: github.event_name == 'schedule' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Compare the scaffold pin against the beta dist-tag run: | pinned=$(grep -oP 'CORE_VERSION: &str = "\K[^"]+' src/template.rs) @@ -87,7 +87,7 @@ jobs: matrix: os: [ubuntu-latest, macos-14] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Lint the installer if: matrix.os == 'ubuntu-latest' run: | diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 3d01201..4a3f70c 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -17,7 +17,7 @@ jobs: if: ${{ github.server_url != 'https://github.com' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Push main to GitHub diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8646665..e9d246d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,7 @@ jobs: os: ubuntu-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust run: | @@ -131,7 +131,7 @@ jobs: fi - name: Upload to release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: # A tag with a hyphen is a prerelease (26.9.0-beta.1). Unflagged, it # would answer /releases/latest — which is what install.sh resolves @@ -163,7 +163,7 @@ jobs: if: ${{ github.server_url == 'https://github.com' }} runs-on: ubuntu-24.04-arm steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install the published arm64 binary and run it run: | set -eu @@ -185,7 +185,7 @@ jobs: if: ${{ github.server_url != 'https://github.com' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Push the tag to GitHub @@ -209,7 +209,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable