[CI] Fix example fmt (#1719)

* [CI] Fix example fmt

* CI should failed, try the fmt check still works

* Revert "CI should failed, try the fmt check still works"

This reverts commit 2fea8a236b94e677a32ca89415153e53eb600279.
This commit is contained in:
Billy Chan 2023-06-23 19:07:49 +08:00 committed by GitHub
parent d464cbc9be
commit faf222698c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ jobs:
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --manifest-path ${{ matrix.path }} --all --check
- run: cargo fmt --manifest-path ${{ matrix.path }} -- --check
- run: cargo build --manifest-path ${{ matrix.path }}
- run: cargo test --manifest-path ${{ matrix.path }}
- if: ${{ contains(matrix.path, 'core/Cargo.toml') }}