Add rustfmt CI for currently formatted directories
This commit is contained in:
parent
fed5ea8b10
commit
53580c1e18
1 changed files with 5 additions and 2 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -116,8 +116,11 @@ jobs:
|
|||
rustup override set nightly
|
||||
- name: Formatting (miri, ui_test)
|
||||
run: cargo fmt --all --check
|
||||
- name: Formatting (cargo-miri)
|
||||
run: cargo fmt --manifest-path cargo-miri/Cargo.toml --all --check
|
||||
- name: Formatting (everything else)
|
||||
# TODO: Add `tests` (work in progress).
|
||||
# Maybe change to `find . -name '*.rs'`, superseding the previous step.
|
||||
run: find bench-cargo-miri benches cargo-miri test-cargo-miri -name '*.rs'
|
||||
| xargs rustfmt --edition=2021 --config-path ./rustfmt.toml --check
|
||||
|
||||
# These jobs doesn't actually test anything, but they're only used to tell
|
||||
# bors the build completed, as there is no practical way to detect when a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue