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