Skip to content

Commit

Permalink
Disable uninlined-format-args Clippy lint
Browse files Browse the repository at this point in the history
Our MSRV too low to support this.
  • Loading branch information
Thomasdezeeuw committed Feb 4, 2023
1 parent fa4e4b3 commit 0cc9a8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0cc9a8a

Please sign in to comment.