From 3596c6f059f1a6e3f8e7f25f8d4ce3e84b6bf2b0 Mon Sep 17 00:00:00 2001 From: Patrick Mahnke-Hartmann Date: Thu, 18 Sep 2025 21:37:11 +0200 Subject: [PATCH] added clippy installation --- .github/workflows/build.yml | 42 ++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff4df15..29d01e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,6 +82,10 @@ jobs: with: toolchain: stable + - name: Install Rust Clippy + working-directory: ${{ needs.detect-project.outputs.project-dir }} + run: rustup component add clippy + - name: Run tests working-directory: ${{ needs.detect-project.outputs.project-dir }} run: cargo test --verbose --no-fail-fast @@ -90,25 +94,25 @@ jobs: working-directory: ${{ needs.detect-project.outputs.project-dir }} run: cargo clippy -- -D warnings - audit: - name: Security Audit - needs: [detect-project, setup-rust] - if: ${{ !failure() && !cancelled() }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - - - name: Install cargo-audit - run: cargo install cargo-audit - - - name: Audit dependencies - working-directory: ${{ needs.detect-project.outputs.project-dir }} - run: cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2020-0159 +# audit: +# name: Security Audit +# needs: [detect-project, setup-rust] +# if: ${{ !failure() && !cancelled() }} +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# +# - name: Install Rust +# uses: dtolnay/rust-toolchain@stable +# with: +# toolchain: stable +# +# - name: Install cargo-audit +# run: cargo install cargo-audit +# +# - name: Audit dependencies +# working-directory: ${{ needs.detect-project.outputs.project-dir }} +# run: cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2020-0159 build: name: Build (${{ matrix.target }})