diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c028a2c..e529dab5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,12 @@ jobs: - name: Install toolchain uses: dtolnay/rust-toolchain@nightly with: - components: rustfmt, clippy + components: rustfmt + + - name: Install toolchain + uses: dtolnay/rust-toolchain@stable + with: + components: clippy - name: Rust cache uses: Swatinem/rust-cache@v2 @@ -62,4 +67,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