diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 681f4e3..0aef8f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,13 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + components: clippy, rustfmt + override: true - name: Check run: cargo check - name: Clippy diff --git a/src/main.rs b/src/main.rs index b4c07fc..44c89e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,8 @@ clippy::too_many_lines, clippy::missing_errors_doc, clippy::redundant_closure_for_method_calls, - clippy::module_name_repetitions + clippy::module_name_repetitions, + clippy::let_underscore_untyped )] use std::{