GeoStat-Framework / GSTools-Core

A Rust implementation of the core algorithms of GSTools.
GNU Lesser General Public License v3.0
10 stars 0 forks source link

RFC: Merge Check, Rustfmt and Clippy CI jobs #1

Closed ghost closed 3 years ago

ghost commented 3 years ago

Running cargo check and cargo clippy can be considered redundant as the latter one includes everything the former one does.

Running cargo fmt -- --check is usually so fast that the CI runtime is dominated by the setup time, hence it seems advisable to just fold that into the Check CI job. (The ordering could be changed though. Rustfmt first weeds out failing builds AFAP but does not indicate whether there more than just formatting issues.)

Also, actions-rs/toolchain does support installing additional components so that no manual invocations of rustup are not necessary.