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:
parent
5082fee083
commit
24100e34f0
2 changed files with 9 additions and 3 deletions
|
@ -17,9 +17,16 @@ tasks:
|
||||||
- check: |
|
- check: |
|
||||||
cd physis
|
cd physis
|
||||||
cargo check
|
cargo check
|
||||||
|
- clippy: |
|
||||||
|
cd physis
|
||||||
|
cargo clippy
|
||||||
- test: |
|
- test: |
|
||||||
cd physis
|
cd physis
|
||||||
cargo test
|
cargo test
|
||||||
- deny-check: |
|
- deny-check: |
|
||||||
cd physis
|
cd physis
|
||||||
cargo deny check
|
cargo deny check
|
||||||
|
- semver-checks: |-
|
||||||
|
cd physis
|
||||||
|
cargo install cargo-semver-checks
|
||||||
|
cargo semver-checks check-release
|
|
@ -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
|
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!
|
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
|
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
|
||||||
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
|
|
||||||
versions.
|
versions.
|
||||||
|
|
||||||
## Contributing & Support
|
## Contributing & Support
|
||||||
|
|
Loading…
Add table
Reference in a new issue