Disable uninlined-format-args Clippy lint

Our MSRV too low to support this.
This commit is contained in:
Thomas de Zeeuw
2023-02-04 16:16:21 +01:00
parent 08250c06f2
commit ddb830bf73
+4 -1
View File
@@ -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