diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index 5e9e5d9..f299c9f 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -40,7 +40,9 @@ jobs: cargo clippy --all-features --tests - --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt + --message-format=json + -- -D warnings + | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt continue-on-error: true - name: Upload analysis results ot GitHub diff --git a/src/main.rs b/src/main.rs index e14b877..8be0c86 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,6 +14,8 @@ * limitations under the License. */ +#![deny(clippy::pedantic)] + use std::ffi::OsString; use std::path::PathBuf;