From b032bafe89dc3c0ae850931e6ed3ea3120144fd2 Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Fri, 8 May 2026 02:14:09 +0700 Subject: [PATCH 1/2] ci: bump actions/cache to v5 and codecov/codecov-action to v6 Both actions now run on Node.js 24, silencing the Node.js 20 deprecation warnings GitHub Actions emits. Mirrors dashpay/rust-dashcore#741. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/actions/docker/action.yaml | 4 ++-- .github/actions/librocksdb/action.yaml | 2 +- .github/actions/local-network/action.yaml | 4 ++-- .github/actions/nodejs/action.yaml | 2 +- .github/actions/rust/action.yaml | 6 +++--- .github/workflows/swift-example-app-ui-smoke.yml | 4 ++-- .github/workflows/swift-sdk-build.yml | 6 +++--- .github/workflows/swift-sdk-release.yml | 2 +- .github/workflows/tests-build-js.yml | 2 +- .github/workflows/tests-dashmate.yml | 2 +- .github/workflows/tests-rs-workspace.yml | 2 +- 11 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml index d35ebf2dabb..cca373a625b 100644 --- a/.github/actions/docker/action.yaml +++ b/.github/actions/docker/action.yaml @@ -109,7 +109,7 @@ runs: run: echo "HOME=$HOME" >> $GITHUB_ENV - name: Cargo cache for Docker - uses: actions/cache@v4 + uses: actions/cache@v5 id: cargo-cache with: path: | @@ -141,7 +141,7 @@ runs: skip-extraction: ${{ steps.cargo-cache.outputs.cache-hit }} - name: Yarn unplugged cache for Docker - uses: actions/cache@v4 + uses: actions/cache@v5 id: yarn-cache with: path: ${{ env.HOME }}/yarn-unplugged-cache diff --git a/.github/actions/librocksdb/action.yaml b/.github/actions/librocksdb/action.yaml index 2766fa1f30b..5411bbc9859 100644 --- a/.github/actions/librocksdb/action.yaml +++ b/.github/actions/librocksdb/action.yaml @@ -18,7 +18,7 @@ runs: using: composite steps: - name: Cache librocksdb - uses: actions/cache@v4 + uses: actions/cache@v5 id: librocksdb-cache with: key: librocksdb/${{ inputs.version }}/${{ runner.os }}/${{ runner.arch }} diff --git a/.github/actions/local-network/action.yaml b/.github/actions/local-network/action.yaml index b4e853e8d4b..b4008e14b82 100644 --- a/.github/actions/local-network/action.yaml +++ b/.github/actions/local-network/action.yaml @@ -28,7 +28,7 @@ runs: - name: Restore local network data id: local-network-data - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | ${{ env.HOME }}/.dashmate @@ -63,7 +63,7 @@ runs: if: steps.local-network-data.outputs.cache-hit != 'true' - name: Save local network data - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: | ${{ env.HOME }}/.dashmate diff --git a/.github/actions/nodejs/action.yaml b/.github/actions/nodejs/action.yaml index eaa77ceae50..8c8066edf8e 100644 --- a/.github/actions/nodejs/action.yaml +++ b/.github/actions/nodejs/action.yaml @@ -29,7 +29,7 @@ runs: run: npm config set audit false - name: Cache NPM build artifacts - uses: actions/cache@v4 + uses: actions/cache@v5 with: # Cache the unplugged packages (unpacked native builds), yarn's # build-state (so postinstalls don't re-run) and install-state diff --git a/.github/actions/rust/action.yaml b/.github/actions/rust/action.yaml index 9c47c927308..e0c2628e2a1 100644 --- a/.github/actions/rust/action.yaml +++ b/.github/actions/rust/action.yaml @@ -69,7 +69,7 @@ runs: - name: Restore cached protoc (v32.0) if: runner.os == 'Linux' id: cache-protoc - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ steps.resolved_home.outputs.home }}/.local/protoc-32.0/bin @@ -94,7 +94,7 @@ runs: - name: Save cached protoc (v32.0) if: runner.os == 'Linux' && steps.cache-protoc.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: | ${{ steps.resolved_home.outputs.home }}/.local/protoc-32.0/bin @@ -106,7 +106,7 @@ runs: run: echo "HOME=$HOME" >> $GITHUB_ENV - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 if: inputs.cache == 'true' with: path: | diff --git a/.github/workflows/swift-example-app-ui-smoke.yml b/.github/workflows/swift-example-app-ui-smoke.yml index 46fe77ac076..71b04b13749 100644 --- a/.github/workflows/swift-example-app-ui-smoke.yml +++ b/.github/workflows/swift-example-app-ui-smoke.yml @@ -31,7 +31,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.cargo/registry @@ -50,7 +50,7 @@ jobs: - name: Restore cached Protobuf id: cache-protoc - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.local/protoc-32.0/bin diff --git a/.github/workflows/swift-sdk-build.yml b/.github/workflows/swift-sdk-build.yml index e04d3278c6c..20e65c423fb 100644 --- a/.github/workflows/swift-sdk-build.yml +++ b/.github/workflows/swift-sdk-build.yml @@ -47,7 +47,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.cargo/registry @@ -64,7 +64,7 @@ jobs: - name: Restore cached Protobuf (protoc) id: cache-protoc - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ${{ env.HOME }}/.local/protoc-32.0/bin @@ -88,7 +88,7 @@ jobs: - name: Save cached Protobuf (protoc) if: steps.cache-protoc.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: | ${{ env.HOME }}/.local/protoc-32.0/bin diff --git a/.github/workflows/swift-sdk-release.yml b/.github/workflows/swift-sdk-release.yml index ac4dba5d991..610aedbec36 100644 --- a/.github/workflows/swift-sdk-release.yml +++ b/.github/workflows/swift-sdk-release.yml @@ -37,7 +37,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Cache cargo registry - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.cargo/registry diff --git a/.github/workflows/tests-build-js.yml b/.github/workflows/tests-build-js.yml index 75e623bb2c2..75d1324ee40 100644 --- a/.github/workflows/tests-build-js.yml +++ b/.github/workflows/tests-build-js.yml @@ -39,7 +39,7 @@ jobs: - name: Cache protoc Docker image id: cache-protoc - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: /tmp/protoc-image.tar key: docker-rvolosatovs-protoc-4.0.0 diff --git a/.github/workflows/tests-dashmate.yml b/.github/workflows/tests-dashmate.yml index 3203a796897..1dd01079edd 100644 --- a/.github/workflows/tests-dashmate.yml +++ b/.github/workflows/tests-dashmate.yml @@ -84,7 +84,7 @@ jobs: - name: Restore test suite local network data to speed up dashmate local network tests id: local-network-data - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: | ${{ env.HOME }}/.dashmate diff --git a/.github/workflows/tests-rs-workspace.yml b/.github/workflows/tests-rs-workspace.yml index 21d56ba0015..da128830869 100644 --- a/.github/workflows/tests-rs-workspace.yml +++ b/.github/workflows/tests-rs-workspace.yml @@ -205,7 +205,7 @@ jobs: - name: Upload coverage if: always() - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: files: lcov.info flags: rust From a8e6fcddfad19f41c01a3477f19f288e5f75de01 Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Fri, 8 May 2026 02:30:19 +0700 Subject: [PATCH 2/2] ci: bump actions/github-script in touched files to v8 Picks up the same Node.js 24 runtime fix for the github-script steps in the workflows/composite actions already touched by this PR (was v6/v7, both deprecated runtimes). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/actions/docker/action.yaml | 2 +- .github/workflows/swift-sdk-build.yml | 2 +- .github/workflows/swift-sdk-release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml index cca373a625b..bbf01a1bdd2 100644 --- a/.github/actions/docker/action.yaml +++ b/.github/actions/docker/action.yaml @@ -151,7 +151,7 @@ runs: - name: Set arch id: arch - uses: actions/github-script@v6 + uses: actions/github-script@v8 with: result-encoding: "string" script: return '${{ inputs.platform }}'.replace('linux/', ''); diff --git a/.github/workflows/swift-sdk-build.yml b/.github/workflows/swift-sdk-build.yml index 20e65c423fb..73149e54ee1 100644 --- a/.github/workflows/swift-sdk-build.yml +++ b/.github/workflows/swift-sdk-build.yml @@ -130,7 +130,7 @@ jobs: - name: Comment/update PR with artifact link and usage guide (skip if unchanged) if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const runUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`; diff --git a/.github/workflows/swift-sdk-release.yml b/.github/workflows/swift-sdk-release.yml index 610aedbec36..ebdd882a759 100644 --- a/.github/workflows/swift-sdk-release.yml +++ b/.github/workflows/swift-sdk-release.yml @@ -81,7 +81,7 @@ jobs: - name: Check existing release for changes id: check - uses: actions/github-script@v7 + uses: actions/github-script@v8 env: NAME: ${{ steps.tag.outputs.name }} with: