Skip to content

Commit

Permalink
ci: upgrade cache action to version with node20 (#6725)
Browse files Browse the repository at this point in the history
  • Loading branch information
cario-dev authored May 14, 2024
1 parent dc85c98 commit 0c2d8fb
Show file tree
Hide file tree
Showing 23 changed files with 99 additions and 99 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fuzz-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ jobs:
with:
toolchain: ${{ env.RUST_STABLE }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-account-compression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-binary-oracle-pair.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-feature-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-instruction-padding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-memo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-name-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-record.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-shared-memory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pull-request-single-pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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') }}
Expand Down
Loading

0 comments on commit 0c2d8fb

Please sign in to comment.