[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:
parent
d464cbc9be
commit
faf222698c
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@ -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') }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user