diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml index fb45363..f297cea 100644 --- a/.github/workflows/fuzzing.yml +++ b/.github/workflows/fuzzing.yml @@ -21,7 +21,7 @@ jobs: profile: minimal toolchain: nightly-2021-12-25 - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 # Install Cachix - uses: cachix/install-nix-action@v17 diff --git a/.github/workflows/libraries.yml b/.github/workflows/libraries.yml index e4c0611..7cc9d28 100644 --- a/.github/workflows/libraries.yml +++ b/.github/workflows/libraries.yml @@ -23,7 +23,7 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - run: cargo doc test: @@ -38,5 +38,5 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - run: cargo test --workspace --exclude stable-swap diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 860a375..e7c54e9 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -23,7 +23,7 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - name: Run cargo fmt run: cargo fmt -- --check @@ -45,5 +45,5 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache dependencies - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 - run: cargo check diff --git a/.github/workflows/program.yml b/.github/workflows/program.yml index f02efa2..96d730f 100644 --- a/.github/workflows/program.yml +++ b/.github/workflows/program.yml @@ -53,7 +53,7 @@ jobs: export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" solana --version - name: Cache Rust - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 with: key: ${{ runner.os }}-${{ env.SOLANA_VERSION }} @@ -112,7 +112,7 @@ jobs: profile: minimal toolchain: ${{ env.RUST_TOOLCHAIN }} - name: Cache Rust - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 with: key: ${{ runner.os }}-${{ env.SOLANA_VERSION }} @@ -136,7 +136,7 @@ jobs: ## profile: minimal ## toolchain: nightly-2022-02-01 ## - name: Cache dependencies - ## uses: Swatinem/rust-cache@v1 + ## uses: Swatinem/rust-cache@v2 ## # Install Cachix ## - uses: cachix/install-nix-action@v17 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0bc011..c7320d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: override: true profile: minimal toolchain: ${{ env.RUST_TOOLCHAIN }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Publish crates run: nix shell .#ci --command cargo ws publish --from-git --yes --skip-published --token ${{ secrets.CARGO_PUBLISH_TOKEN }}