Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 # v2.0.1
with:
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
toolchain: ${{ inputs.toolchain }}
target: ${{ inputs.target }}
components: clippy
Expand All @@ -81,6 +82,7 @@ jobs:
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 # v2.0.1
with:
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
toolchain: ${{ inputs.toolchain }}
target: ${{ inputs.target }}
components: rustfmt
Expand All @@ -89,7 +91,7 @@ jobs:
uses: cargo-bins/cargo-binstall@5885714d0a40a14b2535c6ffc051fd8e49aa9665 # v1.27.0

- name: Install crates
run: cargo binstall -y --force cargo-sort
run: cargo binstall --force -y cargo-sort@2.1.4

- name: Check manifest formatting
run: cargo sort --workspace --check
Expand All @@ -109,14 +111,15 @@ jobs:
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 # v2.0.1
with:
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
toolchain: ${{ inputs.toolchain }}
target: ${{ inputs.target }}

- name: Install Cargo Binary Install
uses: cargo-bins/cargo-binstall@5885714d0a40a14b2535c6ffc051fd8e49aa9665 # v1.27.0

- name: Install crates
run: cargo binstall -y --force cargo-deny cargo-machete
run: cargo binstall --force -y cargo-deny@0.20.2 cargo-machete@0.9.2

- name: Check dependencies
run: cargo deny check
Expand All @@ -136,6 +139,7 @@ jobs:
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@a188e68d0fd2bd36ad51dccb2b07ba6e75105f30 # v2.0.1
with:
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
toolchain: ${{ inputs.toolchain }}
target: ${{ inputs.target }}
components: rust-src
Expand Down