From 29c61bbc2633c42b1d7bf26d6d32d2c6b9b954fb Mon Sep 17 00:00:00 2001 From: Piturnah Date: Tue, 25 Apr 2023 12:02:37 +0100 Subject: [PATCH] Use latest toolchain on CI --- .github/workflows/ci.yml | 7 +++++++ src/main.rs | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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::{