Skip to content

Commit

Permalink
[ci] Check fmt for examples/doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
afilini committed Jun 4, 2021
1 parent 0ec064e commit 4a23070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set default toolchain
run: rustup default 1.51.0 # STABLE
run: rustup default nightly
- name: Set profile
run: rustup set profile minimal
- name: Add rustfmt
run: rustup component add rustfmt
- name: Update toolchain
run: rustup update
- name: Check fmt
run: cargo fmt --all -- --check
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check

0 comments on commit 4a23070

Please sign in to comment.