Skip to content

Commit 7ccd8ce

Browse files
Add fmt check on build_system
1 parent 52f6d5d commit 7ccd8ce

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ jobs:
9696
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
9797
9898
- name: Check formatting
99-
run: cargo fmt -- --check
99+
run: |
100+
cargo fmt -- --check
101+
cd build_system
102+
cargo fmt -- --check
100103
101104
- name: clippy
102105
run: |

build_system/src/test.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ impl TestArg {
127127
show_usage();
128128
return Ok(None);
129129
}
130-
x if runners.contains_key(x) && !test_arg.runners.iter().any(|runner| runner == x) => {
130+
x if runners.contains_key(x)
131+
&& !test_arg.runners.iter().any(|runner| runner == x) =>
132+
{
131133
test_arg.runners.push(x.into());
132134
}
133135
arg => {

0 commit comments

Comments
 (0)