brson / wasm-opt-rs

Rust bindings for Binaryen's wasm-opt
Apache License 2.0
61 stars 10 forks source link

Make cargo fmt CI job useful #100

Closed dtolnay closed 1 year ago

dtolnay commented 1 year ago

Previously it would only fail if rustfmt crashes on the code in this repo, which is not what I think it was intended to test. Using --check means the job will signal when the code being committed is not correctly formatted.

Separately I removed the git submodule update --init --recursive from the fmt job because it is unnecessary and slow.

brson commented 1 year ago

Thanks!