Skip to content

Commit 4a23070

Browse files
committed
[ci] Check fmt for examples/doctests
1 parent 0ec064e commit 4a23070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cont_integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ jobs:
162162
- name: Checkout
163163
uses: actions/checkout@v2
164164
- name: Set default toolchain
165-
run: rustup default 1.51.0 # STABLE
165+
run: rustup default nightly
166166
- name: Set profile
167167
run: rustup set profile minimal
168168
- name: Add rustfmt
169169
run: rustup component add rustfmt
170170
- name: Update toolchain
171171
run: rustup update
172172
- name: Check fmt
173-
run: cargo fmt --all -- --check
173+
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check

0 commit comments

Comments
 (0)