Add fmt check on build_system

This commit is contained in:
Guillaume Gomez 2024-03-21 17:46:23 +01:00
parent 52f6d5d589
commit 7ccd8ce693
2 changed files with 7 additions and 2 deletions

View File

@ -96,7 +96,10 @@ jobs:
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
- name: Check formatting
run: cargo fmt -- --check
run: |
cargo fmt -- --check
cd build_system
cargo fmt -- --check
- name: clippy
run: |

View File

@ -127,7 +127,9 @@ fn new() -> Result<Option<Self>, String> {
show_usage();
return Ok(None);
}
x if runners.contains_key(x) && !test_arg.runners.iter().any(|runner| runner == x) => {
x if runners.contains_key(x)
&& !test_arg.runners.iter().any(|runner| runner == x) =>
{
test_arg.runners.push(x.into());
}
arg => {