From 4a23070cc8ba64262c231733bd1c2bd1e82b7c29 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Fri, 4 Jun 2021 14:55:25 +0200 Subject: [PATCH] [ci] Check fmt for examples/doctests --- .github/workflows/cont_integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index fe4a97e1..d33d48b2 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -162,7 +162,7 @@ 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 @@ -170,4 +170,4 @@ jobs: - 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