1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 03:37:47 +00:00

Add clippy and semver-checks to CI

This commit is contained in:
Joshua Goins 2022-10-26 17:16:08 -04:00
parent 5082fee083
commit 24100e34f0
2 changed files with 9 additions and 3 deletions

View file

@ -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
- semver-checks: |-
cd physis
cargo install cargo-semver-checks
cargo semver-checks check-release

View file

@ -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