format: piped: true commands: 1_install: run: rustup component add rustfmt 2_cargo_fmt: run: cargo +${RUST_VERSION:-stable} fmt --all pre-push: piped: true commands: 1_install: run: rustup component add rustfmt 2_fmt: run: cargo +${RUST_VERSION:-stable} fmt --all -- --check