From df809ba8f6d32bc19adc16c22257e38251c8531f Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 1 Sep 2026 15:58:12 +0100 Subject: [PATCH] ci: Update GHA actions Also fixes "Node.js 20 is deprecated" CI warnings. --- .github/workflows/artifacts.yml | 6 +++--- .github/workflows/ci.yml | 2 +- .github/workflows/depends-build.yml | 10 +++++----- .github/workflows/gui-functional-tests.yml | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index f2c48bc48c..ddae7e3a06 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: MacOS Install Deps if: contains(matrix.os, 'macos') @@ -48,7 +48,7 @@ jobs: echo "CCACHE_DIR=${{ runner.temp }}/ccache" >> "$GITHUB_ENV" - name: Restore Ccache cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 id: ccache-cache with: path: ${{ env.CCACHE_DIR }} @@ -64,7 +64,7 @@ jobs: cmake --build build -j$(nproc) - name: Save Ccache cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true' with: path: ${{ env.CCACHE_DIR }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ab7644f0f..0d2dd6fa86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: BUILD_APP_TESTS: ON steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: recursive diff --git a/.github/workflows/depends-build.yml b/.github/workflows/depends-build.yml index c90eb7425b..79239b9b3e 100644 --- a/.github/workflows/depends-build.yml +++ b/.github/workflows/depends-build.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: recursive @@ -101,7 +101,7 @@ jobs: fi - name: Restore depends sources cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 id: depends-sources-cache with: path: bitcoin/depends/sources @@ -110,7 +110,7 @@ jobs: ${{ matrix.cache-id }}-depends-sources- - name: Restore depends package cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 id: depends-built-cache with: path: bitcoin/depends/built @@ -124,14 +124,14 @@ jobs: ${{ matrix.make }} -j"${JOBS}" HOST="${HOST}" DEBUG= LOG=1 - name: Save depends sources cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: github.event_name != 'pull_request' && steps.depends-sources-cache.outputs.cache-hit != 'true' with: path: bitcoin/depends/sources key: ${{ steps.depends-sources-cache.outputs.cache-primary-key }} - name: Save depends package cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: github.event_name != 'pull_request' && steps.depends-built-cache.outputs.cache-hit != 'true' with: path: bitcoin/depends/built diff --git a/.github/workflows/gui-functional-tests.yml b/.github/workflows/gui-functional-tests.yml index 5145f883f5..efe48c686b 100644 --- a/.github/workflows/gui-functional-tests.yml +++ b/.github/workflows/gui-functional-tests.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: submodules: recursive @@ -43,7 +43,7 @@ jobs: qml6-module-qtquick-dialogs qml6-module-qtquick-templates - name: Restore legacy bitcoind cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 id: legacy-bitcoind-cache with: path: releases/v${{ env.LEGACY_BITCOIND_VERSION }} @@ -77,14 +77,14 @@ jobs: "${legacy_dir}/bin/bitcoind" --version | head -n 1 - name: Save legacy bitcoind cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: github.event_name != 'pull_request' && steps.legacy-bitcoind-cache.outputs.cache-hit != 'true' with: path: releases/v${{ env.LEGACY_BITCOIND_VERSION }} key: ${{ runner.os }}-legacy-bitcoind-v${{ env.LEGACY_BITCOIND_VERSION }} - name: Restore bitcoin-qt compatibility cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 id: bitcoin-qt-compat-cache with: path: releases/v${{ env.QT_COMPAT_VERSION }} @@ -118,7 +118,7 @@ jobs: "${compat_dir}/bin/bitcoin-qt" --version | head -n 1 - name: Save bitcoin-qt compatibility cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: github.event_name != 'pull_request' && steps.bitcoin-qt-compat-cache.outputs.cache-hit != 'true' with: path: releases/v${{ env.QT_COMPAT_VERSION }}