From fdbb4865747ae39c13a6cfa16de44ff5739fdbb8 Mon Sep 17 00:00:00 2001 From: Alexey Lebedenko Date: Fri, 25 Oct 2024 13:58:25 +0200 Subject: [PATCH] Use new clippy action --- .github/workflows/rust_checks.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rust_checks.yml b/.github/workflows/rust_checks.yml index 6dd89c2..db1976b 100644 --- a/.github/workflows/rust_checks.yml +++ b/.github/workflows/rust_checks.yml @@ -6,6 +6,11 @@ name: 'Rust Checks: rustfml, clippy & test' branches: - main jobs: + check-all: + runs-on: ubuntu-latest + steps: + - name: Check clippy + uses: UbiqueInnovation/action-systems-rust-clippy@main rustfmt: runs-on: ubuntu-latest steps: @@ -19,19 +24,6 @@ jobs: components: rustfmt - name: Run rustfmt run: cargo fmt --all -- --check - clippy: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - components: clippy - - name: Run clippy - run: cargo clippy --workspace --all-targets --all-features -- -D warnings test: runs-on: ubuntu-latest steps: