From b0933d81df8991c2d570c25f901bea636bfa1622 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 31 Oct 2026 15:53:36 +0800 Subject: [PATCH] CI: actions on Node.js 24 Node.js 20 is deprecated on the runners, and each run warned of the actions still on it. The first major of each on Node 24: checkout v5, upload-artifact v6, download-artifact v7, setup-java v5, setup-qemu v4. None downloads by artifact ID, the one change in path behavior. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf668b6..b78a99e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: test: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: Swatinem/rust-cache@v2 - run: cargo clippy --all-targets --locked -- -D warnings - run: cargo test --locked @@ -23,7 +23,7 @@ jobs: nat: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: Swatinem/rust-cache@v2 - run: sudo apt-get update -qq && sudo apt-get install -y -qq conntrack - run: cargo build --release --locked --bin baocode-relay --example peer @@ -40,7 +40,7 @@ jobs: runner: ubuntu-22.04-arm runs-on: ${{ matrix.runner }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: Swatinem/rust-cache@v2 with: key: ${{ matrix.arch }} @@ -54,7 +54,7 @@ jobs: cp README.md docs/operations.md "$name/" tar czf "$name.tar.gz" "$name" echo "ARCHIVE=$name.tar.gz" >> "$GITHUB_ENV" - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: linux-${{ matrix.arch }} path: ${{ env.ARCHIVE }} @@ -66,7 +66,7 @@ jobs: permissions: contents: write steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v7 with: merge-multiple: true - run: gh release create "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --title "$GITHUB_REF_NAME" --notes "" *.tar.gz