Add CommandExt trait (#146)

* Color CI output

* Improve `CommandExt`

* Add comments explaining `#[allow]`s

* Remove useless `dead_code` annotation

* Improve error messages

* Print errors when running a shell errors

* fixup! Remove useless `dead_code` annotation
This commit is contained in:
Rebecca Turner
2022-11-08 05:54:35 -05:00
committed by Thomas Schönauer
parent bd34a3bcd4
commit e84173be8f
32 changed files with 822 additions and 558 deletions

View File

@@ -24,6 +24,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check
args: --color always
fmt:
name: Rustfmt
@@ -42,7 +43,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
args: --all -- --check --color always
clippy:
name: Clippy
@@ -60,10 +61,10 @@ jobs:
- uses: actions-rs/cargo@v1.0.1
with:
command: clippy
args: --all-targets --locked -- -D warnings
args: --color always --all-targets --locked -- -D warnings
name: Clippy Output
- uses: actions-rs/cargo@v1.0.1
with:
command: clippy
args: --all-targets --locked --all-features -- -D warnings
args: --color always --all-targets --locked --all-features -- -D warnings
name: Clippy (All features) Output