Skip to content

Commit 2f4cd95

Browse files
committed
Update formatting ci to use --error-on-unformatted
This makes ci fail if rustfmt bails because it's unable to format the code. See <rust-lang/rustfmt#1976 (comment)> for discussion of this option.
1 parent cc427c7 commit 2f4cd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ jobs:
135135
- uses: actions-rs/cargo@v1
136136
with:
137137
command: fmt
138-
args: --all -- --check
138+
args: --all -- --check --unstable-features --error-on-unformatted

0 commit comments

Comments
 (0)