added clippy installation

This commit is contained in:
Patrick Mahnke-Hartmann
2025-09-18 21:37:11 +02:00
parent 3b0da10066
commit 3596c6f059

View File

@@ -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 }})