From 5e7724a8eb9e678f50ac2c3d18d6dc43f3a96ff9 Mon Sep 17 00:00:00 2001 From: Garrit Franke <32395585+garritfra@users.noreply.github.com> Date: Sun, 14 Feb 2021 11:29:44 +0100 Subject: [PATCH] Clippy fix (#11) * ci: allow unknown lints * ci: remove deny warnings Co-authored-by: Garrit Franke --- .github/workflows/ci.yml | 4 ++-- src/main.rs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6c253d..13514d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,11 +74,11 @@ jobs: directory: ${{ runner.temp }}/llvm - uses: actions-rs/toolchain@v1 with: - profile: default + profile: minimal toolchain: stable override: true - run: rustup component add clippy - uses: actions-rs/cargo@v1 with: command: clippy - args: --all-targets --all-features -- -D warnings + args: --all-targets --all-features # -- -D warnings <-- Doesn't work yet; TODO diff --git a/src/main.rs b/src/main.rs index 4926b93..13570db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,5 @@ +#![allow(unknown_lints)] + /** * Copyright 2020 Garrit Franke *