From 9811623c21114eacd2c99cda471df4a66457a86f Mon Sep 17 00:00:00 2001 From: "Jonathan A. McCormick, Jr." <67705789+JonathanMcCormickJr@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:47:51 -0600 Subject: [PATCH] Updating Clippy workflow to treat warnings as errors --- .github/workflows/rust-clippy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index 8caa01c..664c368 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -45,10 +45,9 @@ jobs: - name: Run rust-clippy run: - cargo clippy - --all-features + cargo clippy --all-features -- -D warnings --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt - continue-on-error: true + #continue-on-error: true - name: Upload analysis results to GitHub uses: github/codeql-action/upload-sarif@v3