Skip to content

Commit

Permalink
Add fmt check on build_system
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 21, 2024
1 parent 82425f6 commit ddc405d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 3 additions & 1 deletion build_system/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ impl TestArg {
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 => {
Expand Down

0 comments on commit ddc405d

Please sign in to comment.