From 2f7b74e750d8a1f2f621b10ef65b36b49ad3f5ce Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Mon, 27 Feb 2023 18:17:07 -0700 Subject: [PATCH] downgrade `clippy` to stable until https://github.com/clap-rs/clap/issues/4733 is fixed --- .github/workflows/ci.yml | 3 ++- justfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c028a2c..43d1c175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,4 +62,5 @@ jobs: run: cargo +nightly fmt --all --check - name: Check clippy - run: cargo +nightly clippy --all-targets --all-features --all --verbose -- -D warnings + # TODO restore +nightly after fixing this: https://github.com/clap-rs/clap/issues/4733 + run: cargo clippy --all-targets --all-features --all --verbose -- -D warnings diff --git a/justfile b/justfile index a8499f89..01d5d878 100644 --- a/justfile +++ b/justfile @@ -15,7 +15,8 @@ test: fmt: cargo +nightly fmt --all lint: fmt validate-example-config - cargo +nightly clippy --all-targets --all-features --all + # TODO restore +nightly after fixing this: https://github.com/clap-rs/clap/issues/4733 + cargo clippy --all-targets --all-features --all build: cargo build --all-targets --all-features --all run-ci: lint build test run-integration-tests