This commit is contained in:
@@ -15,6 +15,8 @@ jobs:
|
||||
|
||||
- name: Install Rust (stable)
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Cache cargo
|
||||
uses: actions/cache@v4
|
||||
@@ -25,11 +27,6 @@ jobs:
|
||||
target
|
||||
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Install Rust components
|
||||
run: |
|
||||
rustup component add rustfmt
|
||||
rustup component add clippy
|
||||
|
||||
- name: Format (check)
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user