Add fmt check on build_system
This commit is contained in:
parent
52f6d5d589
commit
7ccd8ce693
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -96,7 +96,10 @@ jobs:
|
|||||||
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
|
./y.sh test --release --clean --build-sysroot ${{ matrix.commands }}
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: cargo fmt -- --check
|
run: |
|
||||||
|
cargo fmt -- --check
|
||||||
|
cd build_system
|
||||||
|
cargo fmt -- --check
|
||||||
|
|
||||||
- name: clippy
|
- name: clippy
|
||||||
run: |
|
run: |
|
||||||
|
@ -127,7 +127,9 @@ fn new() -> Result<Option<Self>, String> {
|
|||||||
show_usage();
|
show_usage();
|
||||||
return Ok(None);
|
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());
|
test_arg.runners.push(x.into());
|
||||||
}
|
}
|
||||||
arg => {
|
arg => {
|
||||||
|
Loading…
Reference in New Issue
Block a user