From ddb830bf73a502949201ada7cb89c53cebda5fcd Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sat, 4 Feb 2023 16:16:21 +0100 Subject: [PATCH] Disable uninlined-format-args Clippy lint Our MSRV too low to support this. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c2775b1..2a9a4731 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,8 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal + # NOTE: When updating also update Clippy flags, some are disabled due to + # MSRV. toolchain: 1.46.0 override: true - name: Check @@ -90,7 +92,8 @@ jobs: override: true components: clippy - name: Clippy - run: cargo clippy --all-targets --all-features -- -D warnings -A clippy::cognitive-complexity + # NOTE: `clippy::uninlined-format-args` is enabled due to MSRV. + run: cargo clippy --all-targets --all-features -- -D warnings -A clippy::cognitive-complexity -A clippy::uninlined-format-args Docs: runs-on: ubuntu-latest timeout-minutes: 10