Enable Clippy::Pedantic checks by default

This commit is contained in:
Anthony Oteri
2023-09-21 13:43:05 -04:00
parent b4005f3cda
commit 2e084a4b2e
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ jobs:
cargo clippy cargo clippy
--all-features --all-features
--tests --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 continue-on-error: true
- name: Upload analysis results ot GitHub - name: Upload analysis results ot GitHub
+2
View File
@@ -14,6 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#![deny(clippy::pedantic)]
use std::ffi::OsString; use std::ffi::OsString;
use std::path::PathBuf; use std::path::PathBuf;