From 0c2d8fbca8ed027c205c367c0ba0313f6293e4fc Mon Sep 17 00:00:00 2001 From: cario-dev <152556479+cario-dev@users.noreply.github.com> Date: Tue, 14 May 2024 21:50:45 +0200 Subject: [PATCH] ci: upgrade cache action to version with node20 (#6725) --- .github/workflows/fuzz-nightly.yml | 6 ++-- .../pull-request-account-compression.yml | 8 ++--- .../pull-request-binary-oracle-pair.yml | 6 ++-- .github/workflows/pull-request-examples.yml | 6 ++-- .../pull-request-feature-proposal.yml | 6 ++-- .github/workflows/pull-request-governance.yml | 6 ++-- .../pull-request-instruction-padding.yml | 6 ++-- .github/workflows/pull-request-js.yml | 2 +- .github/workflows/pull-request-libraries.yml | 8 ++--- .github/workflows/pull-request-memo.yml | 8 ++--- .../workflows/pull-request-name-service.yml | 8 ++--- .github/workflows/pull-request-record.yml | 6 ++-- .../workflows/pull-request-shared-memory.yml | 6 ++-- .../workflows/pull-request-single-pool.yml | 12 +++---- .github/workflows/pull-request-stake-pool.yml | 10 +++--- .../pull-request-token-collection.yml | 6 ++-- .../workflows/pull-request-token-group.yml | 8 ++--- .../workflows/pull-request-token-lending.yml | 8 ++--- .../workflows/pull-request-token-metadata.yml | 8 ++--- .github/workflows/pull-request-token-swap.yml | 14 ++++---- .../workflows/pull-request-token-upgrade.yml | 10 +++--- .github/workflows/pull-request-token.yml | 32 +++++++++---------- .github/workflows/pull-request.yml | 8 ++--- 23 files changed, 99 insertions(+), 99 deletions(-) diff --git a/.github/workflows/fuzz-nightly.yml b/.github/workflows/fuzz-nightly.yml index 639c58b0407..5a83bf630c7 100644 --- a/.github/workflows/fuzz-nightly.yml +++ b/.github/workflows/fuzz-nightly.yml @@ -25,7 +25,7 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -33,14 +33,14 @@ jobs: target key: cargo-fuzz-${{ hashFiles('**/Cargo.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/cargo-hfuzz ~/.cargo/bin/cargo-honggfuzz key: cargo-fuzz-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-account-compression.yml b/.github/workflows/pull-request-account-compression.yml index 0d255bf4e4c..6341b02fe98 100644 --- a/.github/workflows/pull-request-account-compression.yml +++ b/.github/workflows/pull-request-account-compression.yml @@ -42,20 +42,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -89,7 +89,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-binary-oracle-pair.yml b/.github/workflows/pull-request-binary-oracle-pair.yml index 393bc85b89f..b24cf5c4e68 100644 --- a/.github/workflows/pull-request-binary-oracle-pair.yml +++ b/.github/workflows/pull-request-binary-oracle-pair.yml @@ -36,20 +36,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-examples.yml b/.github/workflows/pull-request-examples.yml index 1e7f7a1f3c0..d9b86f4e2e5 100644 --- a/.github/workflows/pull-request-examples.yml +++ b/.github/workflows/pull-request-examples.yml @@ -32,20 +32,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-feature-proposal.yml b/.github/workflows/pull-request-feature-proposal.yml index 13981e16fa3..b88fbcb7a30 100644 --- a/.github/workflows/pull-request-feature-proposal.yml +++ b/.github/workflows/pull-request-feature-proposal.yml @@ -36,20 +36,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-governance.yml b/.github/workflows/pull-request-governance.yml index 10788d9b66a..f8eb96299db 100644 --- a/.github/workflows/pull-request-governance.yml +++ b/.github/workflows/pull-request-governance.yml @@ -46,20 +46,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-instruction-padding.yml b/.github/workflows/pull-request-instruction-padding.yml index dcbd44d813e..17756f7c679 100644 --- a/.github/workflows/pull-request-instruction-padding.yml +++ b/.github/workflows/pull-request-instruction-padding.yml @@ -34,20 +34,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-js.yml b/.github/workflows/pull-request-js.yml index 370dcf38ef2..09e3413a6a5 100644 --- a/.github/workflows/pull-request-js.yml +++ b/.github/workflows/pull-request-js.yml @@ -66,7 +66,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-libraries.yml b/.github/workflows/pull-request-libraries.yml index acf70ca51fb..d84b383555c 100644 --- a/.github/workflows/pull-request-libraries.yml +++ b/.github/workflows/pull-request-libraries.yml @@ -36,20 +36,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -76,7 +76,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-memo.yml b/.github/workflows/pull-request-memo.yml index ce2f2f23432..e908d9c8753 100644 --- a/.github/workflows/pull-request-memo.yml +++ b/.github/workflows/pull-request-memo.yml @@ -34,20 +34,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -74,7 +74,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-name-service.yml b/.github/workflows/pull-request-name-service.yml index ceca409be35..1c3adb32926 100644 --- a/.github/workflows/pull-request-name-service.yml +++ b/.github/workflows/pull-request-name-service.yml @@ -34,20 +34,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -81,7 +81,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-record.yml b/.github/workflows/pull-request-record.yml index 1d1aef3501f..6199fe98226 100644 --- a/.github/workflows/pull-request-record.yml +++ b/.github/workflows/pull-request-record.yml @@ -32,20 +32,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-shared-memory.yml b/.github/workflows/pull-request-shared-memory.yml index 6574ddfd0b7..a7bbbae849b 100644 --- a/.github/workflows/pull-request-shared-memory.yml +++ b/.github/workflows/pull-request-shared-memory.yml @@ -32,20 +32,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-single-pool.yml b/.github/workflows/pull-request-single-pool.yml index 32d7b91b15d..8cfe1968b79 100644 --- a/.github/workflows/pull-request-single-pool.yml +++ b/.github/workflows/pull-request-single-pool.yml @@ -42,20 +42,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -92,14 +92,14 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -132,7 +132,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-stake-pool.yml b/.github/workflows/pull-request-stake-pool.yml index ecc715923ce..9d73859956b 100644 --- a/.github/workflows/pull-request-stake-pool.yml +++ b/.github/workflows/pull-request-stake-pool.yml @@ -51,20 +51,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -98,7 +98,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} @@ -117,7 +117,7 @@ jobs: with: python-version: 3.8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pip key: pip-stake-pool-${{ hashFiles('stake-pool/py/requirements.txt') }} diff --git a/.github/workflows/pull-request-token-collection.yml b/.github/workflows/pull-request-token-collection.yml index dddc19f4705..f94eda3f159 100644 --- a/.github/workflows/pull-request-token-collection.yml +++ b/.github/workflows/pull-request-token-collection.yml @@ -46,20 +46,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-token-group.yml b/.github/workflows/pull-request-token-group.yml index 5008f35b273..3d954d47a93 100644 --- a/.github/workflows/pull-request-token-group.yml +++ b/.github/workflows/pull-request-token-group.yml @@ -38,20 +38,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -84,7 +84,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-token-lending.yml b/.github/workflows/pull-request-token-lending.yml index c8f56529eb9..b2acd9296f0 100644 --- a/.github/workflows/pull-request-token-lending.yml +++ b/.github/workflows/pull-request-token-lending.yml @@ -38,20 +38,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -85,7 +85,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-token-metadata.yml b/.github/workflows/pull-request-token-metadata.yml index 85176d453cc..47d7b4e3309 100644 --- a/.github/workflows/pull-request-token-metadata.yml +++ b/.github/workflows/pull-request-token-metadata.yml @@ -38,20 +38,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -85,7 +85,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.github/workflows/pull-request-token-swap.yml b/.github/workflows/pull-request-token-swap.yml index b5143ef9808..57222a41d8e 100644 --- a/.github/workflows/pull-request-token-swap.yml +++ b/.github/workflows/pull-request-token-swap.yml @@ -40,20 +40,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -100,7 +100,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} @@ -124,21 +124,21 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: token-swap-fuzz-${{ hashFiles('**/Cargo.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/cargo-hfuzz ~/.cargo/bin/cargo-honggfuzz key: cargo-fuzz-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cache diff --git a/.github/workflows/pull-request-token-upgrade.yml b/.github/workflows/pull-request-token-upgrade.yml index 8610b0c4fe8..306e269e186 100644 --- a/.github/workflows/pull-request-token-upgrade.yml +++ b/.github/workflows/pull-request-token-upgrade.yml @@ -38,20 +38,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -81,14 +81,14 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request-token.yml b/.github/workflows/pull-request-token.yml index 6ec9883d7db..72b9c28d844 100644 --- a/.github/workflows/pull-request-token.yml +++ b/.github/workflows/pull-request-token.yml @@ -41,20 +41,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -91,7 +91,7 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -121,20 +121,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -171,20 +171,20 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -225,7 +225,7 @@ jobs: with: toolchain: ${{ env.RUST_STABLE_VERSION }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -258,7 +258,7 @@ jobs: - uses: pnpm/action-setup@v2 with: version: 8 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.npm key: node-${{ hashFiles('pnpm-lock.yaml') }} @@ -282,14 +282,14 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} @@ -322,14 +322,14 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d91dad1c2b0..0bf72e36d8a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -57,7 +57,7 @@ jobs: toolchain: ${{ env.RUST_NIGHTLY }} components: clippy - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -112,7 +112,7 @@ jobs: with: toolchain: ${{ env.RUST_STABLE }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -120,13 +120,13 @@ jobs: # target # Removed due to build dependency caching conflicts key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin/rustfilt key: cargo-sbf-bins-${{ runner.os }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/solana key: solana-${{ env.SOLANA_VERSION }}