Skip to content

Commit

Permalink
Bump Swatinem/rust-cache from 1 to 2 (#199)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 3, 2023
1 parent a9beb78 commit 9d0b4be
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 9d0b4be

Please sign in to comment.