From f807afc2506d074424886d300a25c3ef1aab5416 Mon Sep 17 00:00:00 2001 From: Salman Muin Kayser Chishti <13schishti@gmail.com> Date: Sun, 8 Feb 2026 09:10:42 +0000 Subject: [PATCH] Upgrade GitHub Actions for Node 24 compatibility Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com> --- .github/workflows/ci.yml | 20 ++++++++++---------- .github/workflows/copilot-setup-steps.yml | 2 +- .github/workflows/semver-checks.yml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 552ecfce1..60cea36aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,9 @@ jobs: RUSTDOCFLAGS: -Dwarnings steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 - name: Set up Rust run: | rustup toolchain install $(awk -F'"' '/channel/{print $2}' rust-toolchain.toml) --profile minimal --no-self-update --component rustfmt,clippy --target x86_64-unknown-linux-gnu @@ -47,7 +47,7 @@ jobs: sudo apt install -y iperf3 - uses: Swatinem/rust-cache@v2 - name: Cache custom out directories - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | target/*/build/litebox_runner_linux_userland-*/out @@ -81,7 +81,7 @@ jobs: RUSTFLAGS: -Dwarnings steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - run: sudo apt update && sudo apt install -y gcc-multilib - name: Set up Rust run: | @@ -95,7 +95,7 @@ jobs: sudo ./litebox_platform_linux_userland/scripts/tun-setup.sh - uses: Swatinem/rust-cache@v2 - name: Cache custom out directories - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | target/*/build/litebox_runner_linux_userland-*/out @@ -115,7 +115,7 @@ jobs: RUSTFLAGS: -Dwarnings steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 # LVBS requires a nightly toolchain because: # 1. It uses a custom target (x86_64_vtl1.json) for bare-metal VTL1 kernel development # 2. The custom target requires `-Z build-std` to build core/alloc from source @@ -143,7 +143,7 @@ jobs: sudo ./litebox_platform_linux_userland/scripts/tun-setup.sh - uses: Swatinem/rust-cache@v2 - name: Cache custom out directories - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | target/*/build/litebox_runner_linux_userland-*/out @@ -172,7 +172,7 @@ jobs: RUSTDOCFLAGS: -Dwarnings steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Rust run: | rustup toolchain install $(awk -F'"' '/channel/{print $2}' rust-toolchain.toml) --profile minimal --no-self-update --component rustfmt,clippy --target x86_64-pc-windows-msvc @@ -200,7 +200,7 @@ jobs: RUSTFLAGS: -Dwarnings steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Rust run: | RUST_CHANNEL=$(awk -F'"' '/channel/{print $2}' litebox_runner_snp/rust-toolchain.toml) @@ -221,7 +221,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Rust run: | rustup toolchain install $(awk -F'"' '/channel/{print $2}' rust-toolchain.toml) --profile minimal --no-self-update --target x86_64-unknown-none diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index c6d25b0ae..ddc334fb7 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -27,7 +27,7 @@ jobs: # If you do not check out your code, Copilot will do this for you. steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Rust run: | rustup toolchain install $(awk -F'"' '/channel/{print $2}' rust-toolchain.toml) --profile minimal --no-self-update --component rustfmt,clippy diff --git a/.github/workflows/semver-checks.yml b/.github/workflows/semver-checks.yml index b6072a7f0..fd4ad7b8a 100644 --- a/.github/workflows/semver-checks.yml +++ b/.github/workflows/semver-checks.yml @@ -27,7 +27,7 @@ jobs: echo "This PR does not target the 'main' branch. Exiting." exit 1 - name: Check out repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Ensure that the main branch is fetched run: git fetch origin main:main - name: Set up Rust