From 24100e34f08cf90effef6105ee3558d5c1c04f43 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 26 Oct 2022 17:16:08 -0400 Subject: [PATCH] Add clippy and semver-checks to CI --- .build.yml | 9 ++++++++- README.md | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.build.yml b/.build.yml index 785c4b0..21f7f8e 100644 --- a/.build.yml +++ b/.build.yml @@ -17,9 +17,16 @@ tasks: - check: | cd physis cargo check + - clippy: | + cd physis + cargo clippy - test: | cd physis cargo test - deny-check: | cd physis - cargo deny check \ No newline at end of file + cargo deny check + - semver-checks: |- + cd physis + cargo install cargo-semver-checks + cargo semver-checks check-release \ No newline at end of file diff --git a/README.md b/README.md index abc12ca..c3a58bd 100755 --- a/README.md +++ b/README.md @@ -95,8 +95,7 @@ Even though package management in Rust is easier, it's a double edged sword. I t from including crates - but the ones we do include, have to get checked often. I use `cargo deny` to check my dependencies for mismatched versions, deprecation warnings, updates and more. This is also run on the CI! -Making sure that the library is semver-compliant is also important, and I use `cargo semver` for this task. Currently -it's not on the CI, but it will be added soon. This is to ensure the API does not break when moving between patch +Making sure that the library is semver-compliant is also important, and I use `cargo semver` for this task. This is to ensure the API does not break when moving between patch versions. ## Contributing & Support